Specifying the Default Compiler for a Project

When you change the default compiler for a project, the change affects all classes and templates for which you have not specifically assigned a compiler type.

To change the default compiler for the current project:

  1. From the main window, choose Project Settings.

  2. In the Project Settings window, select the Java Sources node.

  3. In the Properties pane, find the Default Compiler property, click its value, and choose a compiler from the combo box. The default compilers are described below. (Your IDE might include additional compilers, depending on the modules you have installed.)
    FastJavac Compilation The fastjavac provided with the IDE. fastjavac is a native compiler--there are different versions of fastjavac for each platform, but each version compiles into the same Java bytecode. An advantage of running fastjavac is speed.
    Internal Compilation The javac compiler that runs within the same virtual machine as the IDE. javac is a cross-platform compiler. The advantages of running javac internally are speed, the changes in the class structure appear immediately in the Explorer window, and the status bar provides information on the dependent classes that are compiled.
    External Compilation The javac compiler run in a virtual machine outside the IDE.
    (do not compile) The files in the project are not compiled.
For more information on javac, see http://java.sun.com/j2se/1.3/docs/tooldocs/solaris/javac.html.
See also
Specifying the Default Compiler for a File

Defining a New Compiler Type

Legal Notices