GitHub user matthiasblaesing added a comment to the discussion: Changing the default JDK platform
The JDK NetBeans uses can be overriden via the `netbeans.conf` file. That file has a property `netbeans_jdkhome`, which holds the path to the JDK to use. The global file can be found in the NetBeans installation folder `c:\Program Files\Apache NetBeans\etc\netbeans.conf`. If you don't want to change the default/global value, create a file `%APPDATA%\NetBeans\<VERSION>\etc\netbeans.conf` and set the property `netbeans_jdkhome` there: <img width="1003" height="392" alt="grafik" src="https://github.com/user-attachments/assets/8b91def0-1cfa-4287-9ff3-f8130cbd8385" /> GitHub link: https://github.com/apache/netbeans/discussions/9292#discussioncomment-16292008 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
