IntelliJ IDEA 2018.2 Help

Project Page

File | Project Structure | Project
Ctrl+Shift+Alt+S | Project
icons general projectStructure svg | Project

project structure project

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



Project name

Use 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 level

Select 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.

  • 9.0 - Modules, private methods in interfaces, etc.

  • 10.0 - Local variable type inference

  • 11.0 - Local variable syntax for lambda parameters

  • X - Experimental features

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 browseButton 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.
Last modified: 20 November 2018

See Also