Defining a New Compiler Type

If the compilers provided with the IDE do not suit your development tasks, you can define a new compiler type and use it for your project. The new compiler type can call a new compiler or an existing compiler with different property settings.

To define a new compiler type:

  1. From the main window, choose Project Settings.

  2. Right-click the Compiler Types node and choose New compilation service (Internal, FastJavac, or External).

  3. Expand the Compiler Types node and select the compilation service you just created.

  4. In the Properties pane of the Project Settings window, modify the Identifying Name property so that the compiler has a distinct name.

  5. Modify the other properties to your preferred settings.

    For quick help on a property, move the pointer over it. For more detailed information on the properties, see Configuring the External Compiler, Configuring the fastjavac Compiler and Configuring the Internal Compiler.

  6. To use the new compiler type to compile a project or class, right-click the project or class in the Explorer and choose Properties. In the Properties dialog box, click the Execution tab and set the Compiler property to the desired type.
The IDE creates a new compiler type with basic property settings. To create a new compiler type with an existing compiler's properties, right-click the existing compiler type in the Project Settings window and choose Copy. Then right-click the Compiler Types node and choose Paste.
See also
Correcting Errors in Source Code
Specifying the Default Compiler for a Project

Legal Notices