

To develop applications in IntelliJ IDEA, you need a Java SDK (JDK). If you want a module to inherit a project SDK, select the Project SDK option from the Module SDK list. If the necessary SDK is already defined in IntelliJ IDEA, select it from the Module SDK list. Select the module for which you want to set an SDK and click Dependencies. In the next dialog, specify the JDK vendor, version, change the installation path if required, and click Download.įrom the main menu, select File | Project Structure | Project Settings | Modules. Only for JDKs: If you don't have the necessary JDK on your computer, select Add SDK | Download JDK. If the SDK is installed on your computer, but not defined in the IDE, select Add SDK | 'SDK name', and specify the path to the SDK home directory. If the necessary SDK is already defined in IntelliJ IDEA, select it from the SDK list. In the next dialog, specify the JDK vendor, version, change the installation path if required, and click Download.įrom the main menu, select File | Project Structure | Project Settings | Project. Only for JDKs: if you don't have the necessary JDK on your computer, select Download JDK. To add an SDK, click, select the necessary SDK and specify its home directory in the dialog that opens.

Configure global SDKsįrom the main menu, select File | Project Structure | Platform Settings | SDKs. This folder is called an SDK home directory. The table below lists packages that are comprised in each profile.To define an SDK means to let IntelliJ IDEA know in which folder on your computer the necessary SDK version is installed. Each profile specifies a particular set of Java API packages and contains all of the APIs in profiles smaller than itself: compact1 is a subset of compact2, which is a subset of compact3, which in its turn is a subset of the full JRE. Three profiles that have been defined so far are named compact1, compact2, and compact3.
