New Java Project Wizard

The Opens the New Java Project wizard New Java Project wizard helps you create a new Java project in the workbench.

Project name page

Option Description Default
Project name Type a name for the new project. <blank>
Contents
Create new project in workspace:
When selected, the New Project Wizard will create a new project with the specified name in the workspace.
Create project from existing source:
When selected, you can specify the location from which the New Java Project Wizard will retrieve an existing Java project. In this case the wizard will analyze the existing project and set up the build path automatically.
Click on Browse... to browse for a location of an existing Java project.
workspace
JRE
Use default JRE:
When selected, the New Java Project Wizard creates a new Java project which uses the workspace default JRE. The default JRE can be configured on the Java > Installed JREs preference page.
The project will also use the default compiler compliance which can be configured on the Java > Compiler preference page.
Click on Configure default... to configure the default JRE and compiler compliance.
Use project specific JRE:
When selected, you can explicitly specify the JRE to be used for the new Java project. The new project will use a compiler compliance which matches the version of the selected JRE.
Use an execution environment JRE:
When selected, you can specify an execution environment to be used for the new Java project. The new project will use a compiler compliance which fits best the selected execution environment.
Execution environments can be configured on the Java > Installed JREs > Execution Environments preference page.
Use default JRE
Project layout
Use project folder as root for sources and class files:
When selected, the project folder is used both as source folder and as output folder for class files.
Create separate folders for sources and class files:
When selected, the New Java Project Wizard creates a source folder for Java source files and an output folder which holds the class files of the project.
Create separate folders for sources and class files
Working sets
Add project to working sets:
When selected, the new project will be added to the working sets shown in Working Sets drop down field. The drop down field shows a list of previous selected working sets.
Click on Select... to select working sets to which to add the new project.
Depends on the context from which the wizard has been started

Java Build Path page

You can skip this page by pressing Finish on the first page. Otherwise press Next to configure the Java Build Path.

Related concepts

Java projects

Related reference

File actions