Internal Compiler
The internal compiler is derived from the standard
javac and is run within the same virtual machine as the IDE.
The advantages of running javac internally are speed,
changes in the class structure that appear immediately in the Explorer
window, and a status bar that provides information on the dependent classes
that are compiled.
To view or change the properties of the internal compiler, open the
Options window, expand Building
Compiler Types and select Internal Compilation.
When you change the value of a property, your change affects all
classes that use the internal compiler.
The Properties tab of the internal compiler has the following properties:
- 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. 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 .
- GJ Input.
If True, recognizes generic types (parameterized types) in the code. Generic types are proposed in Java Specification Request (JSR) #14. See www.jcp.org for details.
The default value is False, which forces behavior consistent with
standard javac.
- Identifying Name.
Sets the name that the IDE uses to identify this compiler type.
The default value is Internal 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 internal 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.
- 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.
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