The Compiling panel
enables you to
set general compilation options for your project.
You open the Standard
Java SE Project Properties dialog box by right-clicking any
node and choosing Properties.
The Compiling panel includes the following options:
Compile on Save. If selected, files are compiled when you save them.
This option saves you time when you run or debug your application in the IDE.
Generate Debugging Info. If selected, the compiled classes will
include information necessary for stopping at breakpoints and stepping through
the application with the debugger.
Report Uses of Deprecated APIs. If selected, you are notified in
the compilation output of any deprecated APIs that you code uses.
Track Java Dependencies. If selected, the IDE makes sure to use
the latest version of any project dependencies every time you build or run your
project. This full dependency check can make the build process
significantly slower for large projects. If you leave
this option unchecked, you can still have the full dependency check
performed by building your project with the Clean and Build command.
Additional Compiler Options. Enter any additional compiler options that you
need in a space-separated list.
For more information on compiler options, see:
Notes:
Do not use compiler options like -bootclasspath to cross-compile between
Java platforms. Instead, register the target Java platform and set the
target JDK for the project.
You can manage the project's classpath by clicking Libraries in the left panel of the dialog box. You can set up file filters for JAR file creation by clicking Packaging.