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 for Java uses a platform-dependent default location, the CLASSPATH Environment Variable, and the Java Package Manager (JPM) database to find system classes. For more information on the JPM, see the Java Package Manager documentation.
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