Syntax
/cp classpath
Use the /cp option to set the CLASSPATH information for the current compilation. Using this option specifies the path where the JVC can find system and user-defined classes. The virtual machine for Java uses the CLASSPATH environment variable and the Java Package Manager to find system classes. For more information on using the Java Package Manager, see the Java Package Manager documentation.
Note The directories in the CLASSPATH environment variable are separated by semicolons on a Microsoft Windows system.
Example
When compiling myClass.java on Windows NT (version 4.0 or later), the class path might be:
JVC /cp x:.;x:\java\classes myClass.java
In this example JVC searches in and beneath the current directory and the x:\java\classes
directory for system and user-defined classes.