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