Configuring the fastjavac Compiler

You can compile your program using the fastjavac compiler, which is a native compiler. There are different versions of fastjavac for each platform, but each version compiles into the same Java bytecode. fastjavac is available for the Solaris, Linux, and Windows operating environments.

You can configure the fastjavac compiler under the Compiler Types node in the Project Settings window. When you change the value of a property, your change affects all classes that use that compiler. Following are descriptions of the compiler properties.

Properties Tab
Debug Creates debugging information when you compile. This option enables you to see local variables during debugging.
Deprecation Displays each use of a deprecated member or class.
Encoding Sets the encoding that determines how the compiler interprets characters beyond the ASCII character set.
Error Expression Provides a regular expression in POSIX format describing the format of the error output.
External Compiler Sets the path to the executable compiler. By default, the compiler is the fastjavac compiler provided with the IDE.
Identifying Name Sets the name that the IDE uses to identify this compiler type.
Optimize Optimizes the generated bytecode so that it is more compact and runs faster.
Target Sets the filesystem where you want to direct the compiler output. If you choose <not set>, the .class files are written to their source directory.
Expert Tab
Boot Class Path Sets the path from which to load your java source files.
Boot Classpath
Tag Replace
Sets the command line option for the boot class path.
Class Path Sets the class path to be used by the IDE. This value overrides the class path set in the CLASSPATH environment variable.
Debug Tag Replace Sets the command line option for including debugging information (for example, -g).
Deprecation Tag
Replace
Sets the command line option for showing deprecations (for example, -deprecation).
Environment Variables Sets the environment variables that the IDE uses, defined as name=value. When this value is set to null, the IDE settings are used.
Filesystems Path Sets the class path to the directories marked for execution in the filesystem. You cannot change this value.
Optimize Tag Replace Sets the command line option for optimizing bytecode (for example, -O).
Output Dir Tag Replace Sets the command line option for changing the directory in which to generate classes (for example, -d).
See also
Configuring the External Compiler
Configuring the Internal Compiler

Legal Notices