Configuring the External Compiler

You can compile your program outside the IDE using an external javac compiler. The external compiler is the default compiler for most projects and source files.

You can configure the external 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 If True, creates debugging information when you compile. This option enables you to see local variables during debugging.
Deprecation If True, 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 external compiler is the javac compiler provided with your JDK.
Identifying Name Sets the name that the IDE uses to identify this compiler type.
Optimize If True, 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 fastjavac Compiler
Configuring the Internal Compiler

Legal Notices