IntelliJ IDEA 2018.3 Help

Project Page

File | Project Structure | Project
Ctrl+Shift+Alt+S | Project
Project Structure icon | Project

Project page of the Project Structure dialog

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

Item

Description

Project name

Use this field to edit the project name.

Project SDK

If the necessary SDK is not on the list, click New and select the necessary SDK type. 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.

Project language level

Language level defines coding assistance features that the editor provide. Language level can differ from your project SDK. For example, you can use the JDK 9 and set the language level to 8. This makes the bytecode compatible with Java 8, while inspections make sure you don't use constructs from Java 9.

Language level also affects compilation. If you don't manually configure the target bytecode version for your compiler ( Settings/Preferences | Build, Execution, Deployment | Compiler | Java Compiler), it will be the same as the project language level.

For each module, you can configure its own language level and the target bytecode version.

Project compiler output

Specify the path to the directory in which IntelliJ IDEA will store the compilation results. Click the Browse icon to select the output directory.

In this directory, the IDE will create two sub-directories:

  • 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: 1 February 2019

See Also