Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8074798

import statement not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 8u31
    • core-libs
    • x86
    • windows_8

      FULL PRODUCT VERSION :
      Microsoft Windows [Version 6.3.9600]
      (c) 2013 Microsoft Corporation. All rights reserved.

      C:\Users\Jon>java -version
      java version "1.8.0_31"
      Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
      Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)

      C:\Users\Jon>

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 6.3.9600]
      (c) 2013 Microsoft Corporation. All rights reserved.

      C:\Users\Jon>java -version
      java version "1.8.0_31"
      Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
      Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)

      C:\Users\Jon>

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Eclipse IDE

      A DESCRIPTION OF THE PROBLEM :
      package com.richmoore.software;

      import java.sql.*;

      public class Driver {
      public static void main (String[] args)
      {

      try
      //1. Get a connection to the database
      Connection
      NOTE: this generates an error in the IDE for some reason
      //2. Create a statement
      //3. Execute SQL Query
      //4. Process the result set
      }



      }

      Following tutorial at https://www.youtube.com/watch?v=2i4t-SL1VsU.


      REPRODUCIBILITY :
      This bug can be reproduced always.

      SUPPORT :
      YES

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: