Sure it does. It works just the same as in NB 5.5
The JDK to run NetBeans is specified either using the --jdkhome switch
as a parameter for NB or inside netbeans.conf (same as in NB 5.5)
To define the JDK for your project simply open the project properties,
select "Libraries" and select the JDK from the "Java Platform" dropdown.
(Assuming you have defined the JDK using Tools -> Java Platform)
Thomas
On Dec 18, 10:38 am, Thomas Kellerer <YQDHXVLMU...@spammotel.com>
wrote:
> Ramon F Herrera, 18.12.2007 15:23:> I was able to fix it in the old NB5 because it allowed to choose
> > different Java engines: one for development, one to run the IDE
> > itself. Unfortunately, the new NB6 doesn't give you the ability to
> > specify different VMs/SDKs.
>
> Sure it does. It works just the same as in NB 5.5
Good to know. But, IIRC the NB5 installer (GUI) had two separate
fields where NB6 has one. Didn't it?
-RFH
Lew - 18 Dec 2007 15:27 GMT
> On Dec 18, 10:38 am, Thomas Kellerer <YQDHXVLMU...@spammotel.com>
> wrote:
[quoted text clipped - 6 lines]
> Good to know. But, IIRC the NB5 installer (GUI) had two separate
> fields where NB6 has one. Didn't it?
I don't know about the installer, but the claim under discussion was about
whether NB6 allows different Java engines, which it most certainly does.
Furthermore, on a decent Linux system one can use the 'alternatives' mechanism
to globally affect the choice of Java engine. On my system, for example, I
have NB using the JDK in /usr/java/java, which is a symlink to the latest Java
installation as maintained via 'alternatives'.
I have three other JDKs installed (64-bit, Java 5, and an IBM JDK) that I can
assign to specific projects within the IDE, for which I manage the platforms
through its Java Platform Manager (menu item "_T_ools / _J_ava platforms").
This is in addition to the built-in cross-compilation choices available via
the project "Properties".

Signature
Lew
Thomas Kellerer - 18 Dec 2007 15:34 GMT
Ramon F Herrera, 18.12.2007 15:45:
>>> Unfortunately, the new NB6 doesn't give you the ability to
>>> specify different VMs/SDKs.
>> Sure it does. It works just the same as in NB 5.5
>
> Good to know. But, IIRC the NB5 installer (GUI) had two separate
> fields where NB6 has one. Didn't it?
I don't know. I am not using the installer (I believe unzip is the best
installer out there ;) )
But if you are talking about the installer, you must be referring to the
JDK that is used to run NB.
Check out the FAQ:
http://wiki.netbeans.info/wiki/view/FaqJdkHome
The described parameters apply to all versions (starting from 3.6)
Thomas