External Compiler
By default, the external compiler is the javac compiler provided
with your JDK.
To view or change the properties of the external compiler, open the
Options window, expand Building
Compiler Types 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.
This option 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. When you compile a file, the IDE
looks for encoding settings in the following order:
- In the settings for the compiler type associated with the file
- In the individual file's Encoding property
- In the Default Encoding property for Java Sources settings
- The system's default encoding
For more information on the supported encodings and their canonical names, visit
the Sun Microsystems web page at
http://java.sun.com/j2se/1.3/docs/guide/intl/encoding.doc.html.
- Error Expression. Provides a regular expression in POSIX format describing
the format of the error output. Click the ellipsis (...) button to open a
dialog box in which you can set the regular expression and the return index
for error information such as the file name and the line number where the
error occurred. See
Error Expression Property Editor for more information.
- External Compiler. Sets the path to the executable compiler. By default,
the external compiler is the javac compiler provided with your JDK.
Click the ellipsis (...) button to browse to a new executable or to configure
the arguments passed to the compiler. You can use any of the variables listed
under Argument Key.
- 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 Java system libraries that the compiler
type uses. By default, the IDE uses your default Java platform. Set this property
if you want to compile sources against a different Java platform. Click the ellipsis button to display
a property editor in which you can change the boot class path settings.
- Boot Classpath Tag Replace. Sets the command-line option for the
boot class path.
- Class Path.
Specifies the path to the sources that the IDE uses. By default, the IDE uses its internal class path, which includes all mounted filesystems and various directories in the IDE's installation and user directories . The IDE ignores your CLASSPATH environment variable. Click the ellipsis button to display
a property editor in which you can change the class path settings.
The value you set overrides the IDE's internal class path.
- 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