Syntax
/cp:a path
The /cp:a option appends the path entered to the end of the CLASSPATH information and inserts a semicolon between the directories. When multiple /cp:a options are entered, the paths are concatenated.
Note The CLASSPATH environment variable or the /cp option supply the location of the .class file and .zip file directories. The Virtual Machine (VM) for Java uses a platform-dependent default location, the CLASSPATH Environment Variable, and the Java Package Manager (JPM) database to find system classes. See the documentation for the Java Package Manager in the SDK for Java 2.0 for more information about working with the JPM.
Example
The following commands append the directory of myproj
to the existing CLASSPATH information:
JVIEW /cp:a myproj
-or-
WJVIEW /cp:a myproj
The following commands concatenate the directories, myproj1
and myproj2
, and append the resulting path to the existing CLASSPATH information:
JVIEW /cp:a myproj1 /cp:a myproj2
-or-
WJVIEW /cp:a myproj1 /cp:a myproj2