You can use JVC.EXE (JVC) to compile specified .java source files into .class files that are run by the virtual machine for Java. To check your code for syntax errors only, without producing .class files, use the /nowrite option.
You can specify JVC options on the command line, or in the development environment. If you are compiling your Java project from within the development environment, specify the JVC options you wish to use in the Compile tab’s Additional compiler options. Access the Compile tab from the Project menu’s Settings dialog box.
If you are compiling your Java project from the command line, place the JVC options before the name of the .java file or files on the command line. For more information about using JVC.EXE, see:
Order of JVC Options
Command-line options must appear before .java source file names on the JVC.EXE (JVC) command line. JVC reads the command line from left to right processing options in the order it encounters them. Each option applies to all files on the command line. If JVC encounters conflicting options, it uses the rightmost option.