External Compiler
The external compiler is javac run outside the IDE. The external
compiler is the default compiler for
most projects and source files.
To view or change the properties of the external compiler, open the
Options window, expand the Building node, expand the
Compiler Types subnode, and select External Compilation.
When you change the value of a property, your change affects all
classes that use the external compiler.
The Properties tab of the external compiler has the following properties.
- Debug.
If True, generates debugging information when you compile, which
enables you to see local variables during debugging.
If False, only line number and source file information are generated.
- Deprecation.
If True, displays each use or override of a deprecated member or class.
If False, displays the names of source files that use or override
deprecated members or classes.
- Enable JDK 1.4 Source.
If True, the compiler accepts code containing assertions. Assertions were introduced in JDK 1.4. If False, the compiler does not support assertions.
- Encoding.
Sets the encoding that determines how the compiler interprets characters
beyond the ASCII character set. If this value is set to null, the
platform default converter is used.
- 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.
The default value is External Compilation.
- 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.
The Expert tab of the external compiler has the following properties.
- 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).
For more information on the javac compiler, visit the Sun
Microsystems web site at http://java.sun.com/j2se/1.4/docs/tooldocs/win32/javac.html.
Legal Notices