Java Reference
In-Depth Information
Figure 4.2
Step 2 of the New Project Wizard involves selecting a target JDK for the project.
Your choice of
JDK
determines which compiler and
API
library are used to build
your project, unless a module specifically overrides this setting.
Selecting a single or multi-module project
At this point, the
New Project Wizard
has everything it needs to create a new
project. However, without any modules, a project is just an empty shell and not
very useful. This step lets you create your initial module (through the wizard) by
selecting the first option
Create single-module project
and clicking
Next
(see
figure 4.3).
If you want to create a multi-module project, or if you want an empty project to
which you'll add modules later, select the second option
Create/configure multi-
module project
; doing so changes the
Next
button to a
Finish
button. Click
Fin-
ish
to exit the wizard. The project is created, and you're taken to the
Add Module
Wizard
to create or import modules. Creating and importing modules into your
project is covered in the next section of this chapter.
4.2.2
Managing project settings
Along with its global settings and preferences,
IDEA
maintains a collection of set-
tings specific to each project you define. These settings define not only the
project's contents and behavior but also related information such as your source
code control settings and compiler behavior. You can access these settings by