Compiling a Java Program

You can compile all files in a program or only those files that are new or have changed since the last compile. If a file needs to be compiled, it is marked with the icon Compile icon in the Explorer.

To compile a program:

  1. Select the file or folder in the Filesystems tab of the Explorer or open the file in the Source Editor.
  2. From the main window, choose one of the following:

For information on compiling a project, see Compiling, Running, and Debugging a Project.

See also
Specifying a Target Directory for Class Files
Correcting Errors in Source Code

Legal Notices