Consent2Share Version 2 Development Guide, Page 18
4.2 Configure
4.2.1 Configure/Update JDK
Refer to https://www.jetbrains.com/help/idea/2016.1/configuring-global-project-and-module-sdks.html
4.2.1.1 Configure SDKs at the Global (IDE) Level
1. Open the Default Project Structure dialog (from Welcome Screen Configure Project
Defaults Project Structure, or from File Other Settings Default Project Structure).
2. In the left-hand pane, under Platform Settings, click SDKs.
3. To add a new SDK, click Add and select the desired SDK type.
4. In the dialog that opens, select the SDK home directory and click OK.
5. As a result, a new SDK is added to IntelliJ IDEA and its settings are shown on the SDK page in the
right-hand part of the dialog.
6. Optionally, edit the SDK name and contents.
7. If necessary, add more SDKs as described above.
8. Click OK in the Project Structure dialog.
4.2.1.2 Configure a Project SDK
1. Open the Project Structure dialog (e.g. Ctrl+Shift+Alt+S, or from File Project Structure).
2. In the left-hand pane, under Project Settings, click Project.
3. On the page that opens in the right-hand part of the dialog, select the necessary SDK from the
Project SDK list.
4. If the desired SDK is not present in the list, click New and select the necessary SDK type. In the
dialog that opens, select the SDK home directory and click OK. As a result, a new SDK is added to
IntelliJ IDEA as Global Platform Settings and selected as the project SDK.
5. To view or edit the SDK name and contents, click Edit. (The SDK page will open.)
6. Click OK in the Project Structure dialog.
4.2.1.3 Configure a Module SDK
* If there is no project opened in the IntelliJ, please open a project first to configure the module.
1. Open the Project Structure dialog (e.g. Ctrl+Shift+Alt+S, or from File Project Structure).
2. In the left-hand pane, under Project Settings, click Modules.
3. In the middle pane, select the module of interest.
4. In the right-hand part of the dialog, on the Module page, select the Dependencies tab.
5. Select the SDK from the Module SDK list. (To select the project SDK, select Project SDK. Note
that if you change the project SDK later, the module SDK will change accordingly.)
6. If the desired SDK is not present in the list, click New and select the necessary SDK type. In the
dialog that opens, select the SDK home directory and click OK. As a result, a new SDK is added to
IntelliJ IDEA as Global Platform Settings and selected as the project SDK
7. To view or edit the SDK name and contents, click Edit. (The SDK page will open.)
8. Click OK in the Project Structure dialog.
4.2.2 Configure Maven
4.2.2.1 Configure Maven at the Global (IDE) level
1. Open the Default Settings dialog (from Welcome Screen Configure Project Defaults
Settings, or from File Other Settings Default Settings).