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 (VM) 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 Package Manager in the Microsoft SDK for Java Version 2.0 located at http://www.microsoft.com/java/sdk/20/default.htm.
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.