October 29th, 2002, 01:44 PM
At the top of my java program is a series of import statements.
here they are:
I get an error that states that java.io doesn't exist. How does java know where to look for the stuff that it is importing? Is it in the classpath?
October 29th, 2002, 03:31 PM
Ya, there's a tools.jar file that needs to be in your classpath. It should be in the j2sdk/lib directory.
If that's not in your classpath you should be getting errors on the other packages, too, though.