blob: 2c66fdf80ee9cc77f2b9470a1852d94ececf0544 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>Java Platform Manager Dialog Box</title>
<link rel="stylesheet" href="ide.css" title="Oracle BLAFDoc" type="text/css"/>
</head>
<body>
<p><a id="org.netbeans.api.java.platform.PlatformsCustomizer" name="org.netbeans.api.java.platform.PlatformsCustomizer"></a></p>
<div id="NBCSH2211"><!-- infolevel="all" infotype="General" --><a id="sthref300" name="sthref300"></a>
<h1>Java Platform Manager Dialog Box</h1>
<a name="BEGIN" id="BEGIN"></a>
<p>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.
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG466">
<param name="text" value="<html><u>How?</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<p>Using the Java Platform Manager, you can perform the following:</p>
<ul>
<li>
<p>Register a new Java platform. Directories that contain JDKs are marked with an <img width="16" height="16" src="img/sample_icon2.gif" alt="Platform Directory icon" title="Platform Directory icon" /> icon in the file chooser.</p>
<p>Select <b>Add Platform</b> to add a new Java Platform.</p>
</li>
<li>View registered JDK's classpaths.</li>
<li>Register source code for a JDK in the Sources tab.</li>
<li>Register Javadoc documentation for a JDK in the Javadoc tab.</li>
<li>Enable JavaFX for the Java platform in the JavaFX tab. Enter the path to the JavaFX SDK and JavaFX Runtime in this tab.</li>
</ul>
<p>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.</p>
<p>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 <b>Sources</b>, and set Source/Binary Format to the correct JDK.
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG1555">
<param name="text" value="<html><u>More</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<p>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</p>
<a id="NBCSH2212" name="NBCSH2212"></a>
<hr><p><b>Related Topics</b></p>
<p>Developing Applications with NetBeans IDE,
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG465">
<param name="text" value="<html><u>&quot;Setting the Target JDK in a Project&quot;</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<p>Developing Applications with NetBeans IDE,
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG2103">
<param name="text" value="<html><u>&quot;Working with Javadoc Documentation&quot;</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<!-- -->
<!-- Start Footer -->
<table summary="" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="left" width="86%"><a href="legal_notice.htm">
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.</a>
</td>
</tr>
</table>
<!-- -->
</body>
</html>