Specifying the Default Compiler

The IDE comes with a set of compilers that suit most development needs. One compiler type is selected as the default compiler. For most source files, the default compiler is the external compiler.

To change the default compiler:

  1. From the main window, choose Tools and choose Options.
  2. In the Options window, expand the Editing node.
  3. Select the Java Sources node.
  4. In the property sheet, find the Default Compiler property, click its value, and choose a compiler from the combo box.

    The change affects all files and templates for which you have not specifically assigned a compiler type.

To assign a compiler type to a file:

  1. Right-click the file in the Explorer and choose Properties.
  2. In the Properties window, click the Execution tab.
  3. Click the value for the Compiler property and choose a compiler from the combo box.

    This file is not affected when you change the default compiler in the Options window.

See also
External Compiler
Internal Compiler
Fastjavac Compiler
Jikes Compiler

Legal Notices