Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Newbie question on Java SDK 1.4.2_06

Status
Not open for further replies.

ryDen

Programmer
Jun 6, 2002
71
AP
Hi,

I am starting to program in Java. The problem is when I install the SDK using the windows installer, and add the bin path to the PATH environment, it seems fine. Running "java -version" in command prompt shows the java version. However, when I do a "import java.io;", the compiler cannot seem to find the library. Is there a step I have missed out in my setup?

Thanks.

Regards,
Russ
 
Use :

import java.io.*;

not :

import java.io;

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
Oops, my mistake. That does it.
Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top