SDKs
A Software Development Kit, or an SDK, is a collection of tools that you need to develop an application for a specific software framework. For example, to develop applications in Java, you need a Java SDK (JDK). SDKs contain binaries, source code for the binaries, and documentation for the source code. For Java, SDKs also contain annotations.
Generally, SDKs are global. It means that one SDK can be used in multiple projects and modules. After you create a new project and define an SDK for it, you can configure modules in this project to inherit its SDK. You can also specify an SDK for each module individually. For more information, refer to Changing module SDK.
Supported SDKs
- Java SE Developments Kits (JDKs)
- Java Micro Edition (ME) SDKs
- Android SDKs
- Google App Engine SDK
IntelliJ Platform Plugin SDK (for developing IntelliJ IDEA plugins)
Define an SDK
To define an SDK means to let IntelliJ IDEA know in which folder on your computer the necessary SDK version is installed. This folder is called SDK home directory.
Manage global SDKs
From the main menu, select
(Ctrl+Shift+Alt+S).Under the Platform Settings section, select SDKs.
To add a new SDK or a new SDK version, click (Shift+Enter), select the SDK type and specify its installation directory.
To remove an SDK, select it in the list and click (Alt+Delete).
Change project SDK
From the main menu, select
(Ctrl+Shift+Alt+S).Under the Project Settings section, select Project.
-
From the Project SDK list, select another SDK or SDK version.
If the necessary SDK is not defined in IntelliJ IDEA yet, click New and specify its home directory.
Change module SDK
From the main menu, select
(Ctrl+Shift+Alt+S).Under the Project Settings section, select Modules.
Select the necessary module and click Dependencies.
-
From the Module SDK list, select another SDK or SDK version you want to use.
If the necessary SDK is not defined in IntelliJ IDEA yet, click New and specify its home directory.
If you want a module to inherit a project SDK, select the Project SDK option from the Module SDK list.