|
If you're using Windows, it depends on the version of Windows you're using. In XP, you can right-click on My Computer and select Properties. Click on the Advanced tab and at the bottom hit the button labeled "Environmental Variables". "CLASSPATH" should be listed under "System variables". Be sure to include "." in your classpath, as that can often be the source of "NoClassDefFound" errors.
In Windows, the CLASSPATH is broken up with semi-colons for each directory you wish to include.
|