FaqWhichSDK

(Difference between revisions)
m
 
Line 1: Line 1:
__NOTOC__
__NOTOC__
-
===Is NetBeans configured only for the Sun JDK, or are there any other SDKs or compilers that NetBeans can work with?===
+
===Is NetBeans configured only for the Oracle's JDK, or are there any other SDKs or compilers that NetBeans can work with?===
-
In principle, the NetBeans IDE should function with any compliant Java runtime meeting the 1.4 platform specification. For example, the JDK 5 port on Mac OS X works, and IBM's 1.4 JDK series for Linux should work though it is not often tested. Since most Java implementations are based on code licensed from Sun, most of the implementation tends to be the same anyway.
+
In principle, the NetBeans IDE should function with any compliant Java runtime meeting the Java SE 1.4, 5 or 6 platform specification (depending on the version of NetBeans). Since most Java implementations are based on code licensed from Oracle (Sun), most of the implementation tends to be the same anyway.
-
NB does not currently run on GCJ/Classpath, which still lacks a complete Java implementation, especially for Swing. It is possible however to run NB on a Sun JDK and still build and run applications against GCJ: FaqGcj
+
Building projects is done by running Apache Ant. By default, Ant looks for tools such as<tt>javac</tt>or in the same Java runtime as Ant itself runs inside, using <tt>com.sun.**</tt> classes, so you will need to run the IDE in a full JDK, not a JRE. It is however possible to build and run applications using other tools and VMs: just for example, you can use IBM's Jikes to compile classes, and you can even build 1.1-compliant applications if you like: [[FaqJdk11]]
-
 
+
-
Building projects is done by running Apache Ant. By default, Ant looks for tools such as<tt>javac</tt>or in the same Java runtime as Ant itself runs inside, using <tt>com.sun.**</tt> classes, so you will need to run the IDE in a full JDK, not a JRE. It is however possible to build and run applications using other tools and VMs: just for example, you can use IBM's Jikes to compile classes, and you can even build 1.1-compliant applications if you like: FaqJdk11
+
The integrated source debugger does need to have access to JDI classes in the IDE's virtual machine. The Sun JDK and all licensed JDK ports (1.4+) should include these classes.
The integrated source debugger does need to have access to JDI classes in the IDE's virtual machine. The Sun JDK and all licensed JDK ports (1.4+) should include these classes.
-
'''Applies to:''' NetBeans 4.0, 4.1, 5.0, 5.5, 6.0, 6.0.1, [http://wiki.netbeans.org/NB61TestedPlatformAndRuntimes 6.1]
+
See more details about Java SE version required for your version of NetBeans in the Release Notes document.
 +
 
 +
'''Applies to:''' NetBeans 4.x, 5.x, 6.x

Current revision as of 12:14, 21 June 2010

Is NetBeans configured only for the Oracle's JDK, or are there any other SDKs or compilers that NetBeans can work with?

In principle, the NetBeans IDE should function with any compliant Java runtime meeting the Java SE 1.4, 5 or 6 platform specification (depending on the version of NetBeans). Since most Java implementations are based on code licensed from Oracle (Sun), most of the implementation tends to be the same anyway.

Building projects is done by running Apache Ant. By default, Ant looks for tools such asjavacor in the same Java runtime as Ant itself runs inside, using com.sun.** classes, so you will need to run the IDE in a full JDK, not a JRE. It is however possible to build and run applications using other tools and VMs: just for example, you can use IBM's Jikes to compile classes, and you can even build 1.1-compliant applications if you like: FaqJdk11

The integrated source debugger does need to have access to JDI classes in the IDE's virtual machine. The Sun JDK and all licensed JDK ports (1.4+) should include these classes.

See more details about Java SE version required for your version of NetBeans in the Release Notes document.

Applies to: NetBeans 4.x, 5.x, 6.x

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo