The Microsoft Compiler for Java (jvc) creates Java programs and applets by compiling Java source code.
Use the following command to run jvc:
jvc [options] [@commandfile] <files>
options | One or more jvc options. |
@commandfile | A command file listing source files to be compiled by jvc. |
<files> | Names of one or more Java source files. |
/cp /cp:o /cp:p /D /d /g /g:l /g:t /nologo /nowarn /nowrite /O /O:I /O:J /ref /verbose /w /wx /x /?
Use jvc.exe (jvc) to compile specified .java source files into interpreted .class files. To compile without producing the .class files, use the /nowrite option.
If you are compiling your Java project from the command line, place the jvc options before the names of your source files. Jvc reads the command line from left to right, processing options and files in the order they are encountered. Each option applies to all files on the command line. If jvc encounters conflicting options, it uses the rightmost option.
You can specify any number of options and file names—the number of characters on the command line must not exceed 1024 or the limit dictated by the operating system.
Jvc recognizes the following file name syntax:
A full path includes a drive name and one or more directory names. Jvc accepts file names separated either by backslashes (\) or forward slashes (/).
A partial path omits the drive name; jvc defaults to the current drive. If you do not specify a path, jvc defaults to the current directory for the file's location.
Note If a file does not have an extension, jvc defaults to .java for the file's extension.
Jvc accepts a command file as an argument on the command line. When used with jvc, a command file can only contain the names of the Java source files to be compiled; it cannot contain any jvc compiler options nor can it invoke the jvc command.
To use the JDK 1.1 language features supported by jvc with Microsoft® Visual J++®, you must replace the Visual J++ versions of Jvc.exe, Jps.dll, and Msjvc.dll with the SDK versions. See Microsoft Visual J++ Compiler for instructions.
For a complete list of errors and warning messages produced by jvc, see Jvc Errors and Warning Messages.
CLASSPATH Environment Variable
Jvc Errors and Warning Messages