Compiling Programs

The IDE offers a variety of compilation options, from different ways to compile your program to different compilers to use. Using the Build menu, you can compile all files in a program or only those files that are new or have changed since the last compile.

The IDE comes with a set of compilers that suit most development needs. Each compiler contains properties that affect how it generates code, such as whether to generate debugging information and which libraries to use. You can view and configure the compilers under the Compiler Types node in the Project Settings window.

One compiler is selected as the default compiler. You can view the default compiler for a project by selecting the Java Sources node in the Project Settings window.

For help with compiling a program, see:

Compiling a Project or File
Correcting Errors in Source Code
Stopping a Compile
Specifying a Target Directory for a Class File
Disabling Compilation of a Single Source File
Deleting .class Files

For help with configuring compilers, see:

Configuring the Compilers in the IDE
Specifying the Default Compiler
Defining a New Compiler Type
Setting a Compiler Type in a Template
Removing a Compiler Type

Legal Notices