Build Tab

The Build tab contains the information required to compile the project. If you change a field in this tab, click the Apply button to enter the changes before moving to another tab.

Files in
List of .java files in the source directory that are required to build the program. Clicking the Add All in Directory button adds all .java files in the source directory to the file list. Clicking the Add Selected button opens a file chooser from which you can select files to add to the list. You can delete a file by selecting a file name and clicking the Delete button.

Javac options
Compiler options you wish to specify. Clicking the ellipsis button opens a dialog box in which you can turn compiler options on and off. For more information on compiler options, see the javac compiler documentation.

Root directory of class hierarchy
The path to the root directory of the class hierarchy.

Additional classpaths
Additional paths to add to the default CLASSPATH environment variable. To view the default entries, click the View Classpath button.

Package name
Hierarchical name of the source. For information on packages, see the packages write-up in the Java language specification.

For example:

/tmp/new/java/sun/jws/portfolio

package name = sun.jws.portfolio

root directory = /tmp/new/java


See also:

Editing Project Attributes