Thanks,

I have confirmed that adding the new JDK via the Project Properties -> Manage 
Java Platforms for the platform app and selecting it results in the same 
exceptions as changing the JDK home in netbeans.conf (which I changed back to 
JDK 14).  Using JDK 14 doesn't throw any exceptions, but JDK 17 does.  This is 
pretty low on my list of priorities, since I can either just use 14 or 
re-install with 17.

Next, I need to remember my GitHub password.  Then I can work on cleaning up 
some tutorials.

Peter


________________________________
From: Michael Bien <mbie...@gmail.com>
Sent: Saturday, January 22, 2022 9:24 PM
To: Peter Blemel <pble...@hotmail.com>; dev@netbeans.apache.org 
<dev@netbeans.apache.org>
Subject: Re: How to add 'File -> New' and 'File -> Open' to a NB 12.6 platform 
application?

you can add more JDKs via tools -> java platform

in project properties window, you can select which JDK it should use to 
build/run etc. If you don't change the JDK it will use the same JDK NB is 
running on. And i think you figured already out how to change this (via 
netbeans.conf)

no need to reinstall anything. (technically you don't even have to install NB, 
just extract and run it)


-michael


On 23.01.22 04:12, Peter Blemel wrote:
I forgot to talk about the JDK!  Thanks for that tip.  When I first installed 
NetBeans 12.6, I was using JDK14.  I installed JDK17 after installing 12.6 and 
changed the JDK home to 17.  I just changed the JDK home back to 14 and the 
exceptions go away (but I still can't find my file type in "File -> New").

Do we need to re-install NetBeans to switch JDKs, so that netbeans.conf is 
correct for the JDK?

Thanks,
Peter

Reply via email to