In the Sources panel, set the level of JDK you want your application to be run on in the Source/Binary Format combo box.In your Ant script, set the target JDK as desired in the javac, java, and javadoc tasks.To set the target Java platform for a free-form project: Then click the Add Platform button and navigate to the desired platform. If you want to register additional Java platforms with the IDE, you can do so by clicking the Manage Platforms button.
#NETBEANS JDK FOR THE NETBEANS IDE CODE#
Compiles your source code against the target JDK's libraries.Uses the target JDK's executables (javac and java) to compile and execute your application.If available, displays the target JDK's source code and Javadoc documentation.Offers the new target JDK's classes for code completion.Switching the target JDK for a standard project does the following:.Installing and configuring it is fairly straig. They both use the JDK for compiling the source. Whether you use NetBeans or Eclipse, you will need the JDK installed. Choose the desired Java platform in the Java Platform combo box. Answer (1 of 5): First off, NetBeans and Eclipse are IDEs (integrated development environments) and JDK is the Java Development Kit.
The JDK version is listed in the Java field.
You can view your IDE's JDK version by choosing Help > About and clicking the Detail tab. By default, the IDE uses the version of the Java SE platform (JDK) with which the IDE runs as the default Java platform for compilation, execution, and debugging.