Jint Usage

jintc [option option ...] [--] [source-file source-file ...]
Source file name "-" means standard input. If no source files are specified, compiler will switch into interactive mode, compiling, loading and executing user input on the fly.

Options common with standard java compiler

-d targetDir directory to write compiled classes
-classpath file-list list of directories and archives to search for classes
-sourcepath file-list list of directories and archives to search for source files
-bootclasspath file-list list of directories and archives to search for system classes
-extdirs file-list list of directories and archives to search for extensions [not implemented]
-g
-g:{lines,vars,source}
generate complete or specified debugging information [only line numbers and source file names are implemented]
-O optimize [not implemented]
-nowarn generate no warnings [not implemented]
-verbose print information on what compiler is doing
-deprectaion generate warnings for every deprecated API usage [not implemented]
-encoding name input file character encoding [not implemented]
-target version generate class files for specific JVM [not implemented]

Jint-specific options

-- treat the rest of command line as input file list
-Xscript turn on loose exception checking and in future other not-java-compatible features
-Xrelative treat source file names as relative to the source path, not current directory
-Xdump generate ".dump" files containting text representations of JVM instructions, rather then ".class" files; jintc will not execute interactive input when this option is in effect
-Xstacktrace print the stack trace every time when a compilation error is detected
-Xnochain do not generate class files for any source file that is not given on the command line
-Xwhole in the interactive mode, read all the input before compiling anything and do not print prompt; this is default if any files are given on the command line
-Xlinebyline in the interactive mode, execute statements as soon as possible; this is default if no files are given on the command line
-Xdumpjava dump parsing tree as java code to standard output
-Xdumpjavadebug dump parsing tree and type info as java code to standard output
-Xinterp turn on interactive mode
-Xjavaclassesonly don't load jint special classes (like Regex); many jint features will not work; this option is here mainly for jint compiler to be able to compile itself
-Xcanlistpackages compiler can use the fact that listing of class and source files in the folder correctly reprsents list of classes in a package; this might be not true on non-case sensitive filesystems; this option is turned on by default only on systems with '/' as a path separator
-Xcantlistpackages compiler should never try to access the whole package, but only individual classes