Compiler Settings
This panel allows to specify common options of javac-compatible compilers and (Win32 only:) "jvc"
compiler settings.
- output directory
Defines where classes are created. This option is mandatory.
- use @tmpfile
Lets AnyJ create a temporary file containing a list of files to compile. This file is passed to javac.
Strongly recommended if you use JDK 1.3 or higher.
This option is not supported by older javac versions. Required by AnyJ to workaround OS-specific
command line length limits.
- compiler selection - note that the currently selected tab in the tabbed pane also selects the
associated compiler.
- Additional Commandline Options
It is possible to specify additional command line options
(such as "-J-Xmx64m" to increase javac's memory limit).
- Create Debug Info
Required to enable debugging
- Compile dependent, Dont't show warnings, Optimized use, Verbose
Not recommended for daily use. May work different depending on the JDK you use
IBM's Jikes compiler
Set the field "additional commandline options" to "+E" (Emacs compatible error
messages).
How to use the MS-jvc compiler (Win32 only)
AnyJ contains special support for the JVC compiler included in the Microsoft SDK for Java.
- Download and install the MS-JDK for Java.
- set the "Use MS-jvc" to true.
- Note that the jvc compiler needs its own classes.zip in the classpath, respectively you can skip it in the classpath
to force jvc to use default. Trying to compile with jvc using a JDK-classes.zip usually results in "class java.lang.Thread not found" or
something similar.