IntelliJ IDEA 2017.3 Help

Defining a JDK and a mobile SDK in IntelliJ IDEA

This feature is only supported in the Ultimate edition.

To be able to develop Java mobile applications, you should define the JDK and the Java mobile toolkit that you are going to use in IntelliJ IDEA.

To define a JDK and a mobile SDK in IntelliJ IDEA

  1. Open the Project Structure dialog (e.g. Ctrl+Shift+Alt+S).
  2. In the leftmost pane, under Platform Settings, click SDKs.
  3. Above the pane to the right, click new and select JDK.
  4. In the dialog that opens, select the installation directory of the JDK to be used and click OK.
  5. Click new and select Mobile SDK.
  6. In the dialog that opens, select the installation directory of your Java mobile toolkit (WTK or DoJa) and click OK.
  7. If necessary, configure your custom profile and specify the preverify options on the SDK page (in the right-hand part of the dialog).
  8. Click OK in the Project Structure dialog.
Last modified: 6 March 2018

See Also