Jikes Compiler
See Also
The Jikes compiler is an open source compiler that translates Java source files
as defined in The Java Language Specification into the bytecoded instruction
set and binary format defined in The Java Virtual Machine Specification.
To view or change the properties of the Jikes compiler, open the
Options window, expand Building
Compiler Types and select Jikes Compilation.
When you change the value of a property, your change affects all
classes that use the Jikes compiler.
The Properties tab of the Jikes 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, passes the -source 1.4 flag
to the compiler. This option enables the compiler to correctly parse and compile
source written for JDK 1.4. You should set this option to True if your code
contains assertions or other extensions introduced in JDK 1.4.
- 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 compiler executable. By default,
the external compiler is the javac compiler provided with the JDK
on which you are running the IDE. Click the ellipsis (...) button to browse
to a new executable. You can also set the command-line options and class path
for the compiler in the dialog box. For more information, see External Compiler Property Editor.
- Identifying Name. Sets the name that the IDE uses to identify this
compiler type. The default value is Jikes 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 select <not set>, the .class files are written
to their source directory.
The Expert tab of the Jikes 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. The IDE ignores your CLASSPATH environment variable. Click the
ellipsis button to display a property editor in which you can append directories
to 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).
Legal Notices