Skip to main content

Posts

Showing posts with the label compiletime errors

How to correct Java Compile Problems?

If you're having problems compiling check the following: ·          you do NOT have CLASSPATH set in your AUTOEXEC.BAT file (JDK 1.3 does not require the DOS environment variable). ·          If the variable is set because of other programs, make sure it begins with a '.\' to ensure the current directory is always included. ·          you are issuing the compile command from within the directory containing the .java source file ·          if you are using the javac switch -classpath DO NOT include an ending '\'