IntelliJ IDEA 2017.1 Help

Project Page

File | Project Structure | Project
Ctrl+Shift+Alt+S | Project
/help/img/idea/2017.1/projectStructure.png | Project

/help/img/idea/2017.1/project_structure_project.png

Specify the project name, SDK, language level, and the compiler output path.

ItemDescription
Project nameUse this field to edit the project name.
Project SDK Select the project SDK.

If the desired SDK is not present in the list, click New and select the necessary SDK type. Then, in the dialog that opens, select the SDK home directory and click OK.

To view or edit the name and contents of the selected SDK, click Edit. (The SDK page will open.)

Project language levelSelect the Java language level to be supported. The selected level will be used as the project default.

The available options correspond to JDK versions:

  • 1.3 - Plain old Java
  • 1.4 - 'assert' keyword
  • 5.0 - 'enum' keyword, autoboxing, etc.
  • 6.0 - @Override in interfaces
  • 7.0 - Diamonds, ARM, multi-catch, etc.
  • 8.0 - Lambda support, type annotations, etc.

An individual language level may be set for any of your modules.

Note that if the target level is not explicitly defined (the compiler option -target) , it is considered equal to the source language level.

Thus, if -target is not explicitly defined, it will be synchronized with the language level.

Project compiler output Specify the path to the directory in which IntelliJ IDEA will store the compilation results. Click /help/img/idea/2017.1/browseButton.png to select the directory in the Select Path dialog.

Two subdirectories in the specified directory will be created:

  • production for production code.
  • test for test sources.

In these subdirectories, individual output directories will be created for each of your modules.

The output paths may be redefined at the module level.

See Also

Last modified: 18 July 2017