Setup SDK IntelliJ

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 be able to develop plugins for IntelliJ IDEA, you have to configure an IntelliJ Platform Plugin SDK. You can do that separately – as described on this page, or when creating a project.

To configure the IntelliJ Platform Plugin SDK

  1. Open the Project Structure dialog (e.g. Ctrl+Shift+Alt+S).
  2. Under Platform Settings, select SDKs and then click /help/img/idea/2017.2/new.png to define a new SDK.
  3. Select IntelliJ Platform Plugin SDK from the Add New SDK list.
    /help/img/idea/2017.2/pluginsIdeaSdk.png
  4. 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.
  5. 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).
  6. 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.)
  7. 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.)
  8. 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 setup sdk intellij. In the dialog that opens, select the folder containing the sources and click OK. Click OK in the Detected Source Roots dialog.
  9. 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.

Plugins?

Find more about plugins here.
Find more about IDEA IntelliJ here.

Last updated by at .