/cp:p — Prepend CLASSPATH Option (JVC)

Syntax

/cp:p path

This option prepends the information found in the CLASSPATH environment variable and inserts a semicolon between directory paths. When multiple /cp:p options are entered, the paths are concatenated.

Note   The CLASSPATH environment variable or the /cp option supply the location of the .class files. For a full description of the CLASSPATH environment variable, see CLASSPATH Environment Variable.

Example

The following command prepends the directory of myproj to the existing class path:

JVC /cp:p myproj

The following commands concatenate the directories, myproj1 and myproj2, and prepends the resulting path to the existing CLASSPATH information:

JVC /cp:p myproj1 /cp:p myproj2