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
in the Explorer.
To compile a program:
- Select the file or folder in the Filesystems tab of the Explorer or open the file in the Source Editor.
- From the main window, choose one of the following:
- Build
Compile (F9) to
compile only those files that are new or have changed since the
last compile. This command does not compile
the files in subfolders.
- Build
Compile All (Shift-F9).
to compile
only those files that are new or have changed since the
last compile, including the files in
subfolders.
- Build
Build (F11).
to delete the sourcename.class files
in the folder and compile the source files.
This command does not remove .class files or compile source files in subfolders.
- Build
Build All (Shift-F11)
to delete all .class files within a folder and its subfolders
and then build all files within the folder and subfolders.
For information on compiling a project, see Compiling, Running, and Debugging a Project.
Legal Notices