IntelliJ IDEA 13.1 Web Help

Some features described here are available in Ultimate edition only.

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.

You can do it separately, the way described on this page. You can also do it when creating a project for your Java mobile application development, see Creating a project with a J2ME module.

To define a JDK and a mobile SDK in IntelliJ IDEA
  1. Open the Project Structure dialog (e.g. Ctrl+Shift+Alt+SCtrl+Shift+Alt+SCtrl+Shift+Alt+SCtrl+Shift+Alt+SCtrl+Shift+Alt+SCtrl+Shift+Alt+SCtrl+Shift+Alt+SCtrl+Shift+Alt+SCtrl+Shift+Alt+SCommand SemicolonCommand SemicolonCommand Semicolon).
  2. In the leftmost pane, under Platform Settings, click SDKs.
  3. Above the pane to the right, click add and select JDK.
  4. In the dialog that opens, select the installation directory of the JDK to be used and click OK.
  5. Click add 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.

See Also



Web Resources: