Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

import.java.util does not exist error

950037Jul 17 2012 — edited Jul 17 2012
If you are using a 64 bit version of Windows, download Java Platform (JDK) 7u5 from http://www.oracle.com/technetwork/java/javase/downloads/index.html.

The name of the file to download is jdk-7u5-windows-x64.exe. Follow the installation instructions on the web page.

Then download NetBeans from netbeans.org/downloads/index.html.

Before you do the download, change the Platform in the upper right corner to OS Independent Zip.

Then click on the Download button in the Java SE column.

The name of the file to download is netbeans-7.1.2-201204101705-ml-javase.zip. Unzip the file. NetBeans can be executed by clicking on netbeans.exe in the folder netbeans-7.1.2-201204101705-ml-javase\netbeans\bin.

I am in a PRG420 Java class.

My teacher says to dowload JDK first then Netbeans.

Everything is working except when i try to import.java.util.scanner it gives me an error

Package <error> java.util does not exist

She keeps saying to uninstall and reinstall and i have googled, youtubed, asked her everything. I can't get it to work

Please help :)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 14 2012
Added on Jul 17 2012
9 comments
14,567 views