The IDE comes with a set of default compilers that suit most
development needs.
You can compile your program using the
compiler, which is the default compiler for
most projects and source files. An advantage of using
fastjavac
is speed.
You can also compile your program inside the IDE
using the internal
compiler or on its own using an external javac
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.
If you add modules to the IDE, your environment might also include compilers for building a specific type of application. For example, when you install the RMI module, your environment includes the RMI Stub compiler.
You can modify how a compiler is called, such as whether to create debugging information, which executable to use, and whether to perform Java optimizations. You view and modify compilers under the Compiler Types node in the Project Settings window.
If the compilers provided with the IDE do not suit your needs, you can define a new compiler type and assign it to your project or source file. The new compiler type can call a new compiler or an existing compiler with different property settings.
For help assigning a compiler to a project or file, see:
Specifying the Default Compiler for a ProjectFor help configuring the compilers, see:
Specifying the Default Compiler for a File
Configuring the External CompilerFor help defining a new compiler type, see:
Configuring thefastjavac
Compiler
Configuring the Internal Compiler
Configuring a Compiler from the Explorer
Defining a New Compiler Type
Removing a Compiler Type
Setting Compiler Types in Templates