/nowrite — Compile Only Option (JVC)

Syntax

/nowrite

The /nowrite option tells JVC to compile a .java file and to suppress the writing of the .class file. This option is useful for checking your source code for syntax errors only, without producing .class files.

Example

The myClass.java file is compiled, errors and warnings are reported, but no corresponding myClass.class file is produced:

JVC /nowrite myClass.java