How do I determine what Java is using as the CLASSPATH? Java uses the CLASSPATH to determine where it looks for various parts of the program. This should only be an issue in running as an application and in servlet emulation. In MS Windows, open a Command prompt (DOS window) and type the command:
Look for CLASSPATH. If the text scrolls off the screen too quickly to read type:
In Unix or Linux, open a console window (terminal window) and type:
When running as an Application, the classpath is specified by the -cp parameter. |