Java Platform Manager Dialog Box
See Also
The Java Platform Manager is a tool for registering 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.
You can open the dialog box by choosing Tools > Java Platforms.
- You can set the IDE's default platform by running the IDE with
the --jdkhome
switch on the command line or by entering the path to the JDK in the netbeans_jdkhome
property of your INSTALLATION_DIRECTORY/etc/netbeans.conf
file.
Using the Java Platform Manager, you can:
- 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.
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.
Notes:
-
If you have the JavaFX Script plugin installed, the Java Platform Manager enables you to register different versions of the JavaFX Software Development Kit (SDK). For more information see, Registering Additional
JavaFX Platforms.
- 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. For more information, see Mobility Pack: Adding
Emulator Platforms.
- See Also
- Setting the Target JDK in a Project
- Adding
Javadoc to a Project
- Viewing Javadoc Documentation
- Stepping Through Your Program
- About Standard Projects
- About Free-Form Projects
Legal Notices