# Java Platform Manager Dialog Box

Use to register different versions of the Java Development Kit (JDK) and other Java tools that your programs depend on. The dialog box lists all of your registered JDKs in the left pane and lists the JDK that the IDE is running on as the Default Platform.

Using the Java Platform Manager, you can perform the following:

- Register a new Java platform. Directories that contain JDKs are marked with an icon in the file chooser.

  Select Add Platform to add a new Java Platform.

- View registered JDK's classpaths.
- Register source code for a JDK in the Sources tab.
- Register Javadoc documentation for a JDK in the Javadoc tab.
- Enable JavaFX for the Java platform in the JavaFX tab. Enter the path to the JavaFX SDK and JavaFX Runtime in this tab.

Once you have registered a JDK, you can configure a standard project to use that JDK for compilation, execution, and debugging. Go to the project's Project Properties dialog box, select the Libraries node, and choose the appropriate JDK in the Java Platform combo box.

For free-form projects, you have to set the target JDK in your Ant script. To configure the IDE to show the correct JDK's classes for code completion, Javadoc documentation, and source files, you must register the JDK in the Java Platform Manager dialog box. Then go to the project's Project Properties dialog box, click Sources, and set Source/Binary Format to the correct JDK.

For Java ME MIDP and CDC projects, you can add emulators and SDK platforms for mobile devices. You also use the Java Platform Manager to take advantage of special tools and extensions of each platform you install. More

Related Topics

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.