Setup SDK IntelliJ – Configuring IntelliJ Platform Plugin SDK
Many people face this issue. It is not an issue, really. It’s more of an configuration feature.
We will use original article from Jetbrains pages to explain this more easily. To ensure you Setup SDK IntelliJ we provide these two StackOverflow links for you:
- Mac/Linux Setup SDK IntelliJ: https://stackoverflow.com/questions/43661829/how-to-setup-sdk-in-intellij-idea
- Windows Setup SDK IntelliJ: https://stackoverflow.com/questions/16765726/how-to-set-intellij-idea-project-sdk
An article from Jetbrains IDEA IntelliJ pages
To configure the IntelliJ Platform Plugin SDK
- Open the Project Structure dialog (e.g. Ctrl+Shift+Alt+S).
- Under Platform Settings, select SDKs and then click to define a new SDK.
- Select IntelliJ Platform Plugin SDK from the Add New SDK list.
- If you haven’t defined a JDK in IntelliJ IDEA yet, a dialog is shown suggesting that you do that now. Click OK in that dialog, and then select the installation folder of the desired JDK in the dialog that opens.
- In the dialog that opens, select the installation folder of the necessary IntelliJ IDEA version. (An IntelliJ IDEA installation acts as an IntelliJ Platform Plugin SDK).
- In the Select internal Java platform dialog, select the desired JDK from the list and click OK. (Listed in this dialog are the JDKs defined in IntelliJ IDEA.)
- If necessary, change the path to the sandbox in the Sandbox Home field. (The sandbox is a folder where IntelliJ IDEA will copy your plugins for debugging.)
- Optionally, configure the source path for the IntelliJ IDEA Community Edition sources (if you are going to use them and have them available on your computer). To do that, select the Sourcepath tab and click . In the dialog that opens, select the folder containing the sources and click OK. Click OK in the Detected Source Roots dialog.
- Click OK to save the changes and close the Project Structure dialog.
Now, the IntelliJ Platform Plugin SDK is in the list of available SDKs, so in the future, when necessary, you will be able to simply select it from the corresponding lists.