February 2014
Beginner
1248 pages
62h 25m
English
If you attempt to run a Java program and receive a message like
Exception in thread "main" java.lang.NoClassDefFoundError: YourClass
then your system has a CLASSPATH environment variable that must be modified. To fix the preceding error, follow the steps in setting the PATH environment variable, to locate the CLASSPATH variable, then edit the variable’s value to include the local directory—typically represented as a dot (.). On Windows add
.;
at the beginning of the CLASSPATH’s value (with no spaces before or after these characters). On other platforms, replace the semicolon with the appropriate path separator characters—typically a colon (:).
Read now
Unlock full access