From the main menu, select
If the necessary SDK is already defined in IntelliJ IDEA, select it from the Project SDK list.
If the SDK is installed on your computer, but not defined in the IDE, select
, and specify the path to the SDK home directory.
Only for JDKs: If you don't have the necessary JDK on your computer, select Download.
. In the next dialog, specify the JDK vendor, version, change the installation path if required, and click