I have installed (actually auto-upgraded) NetBeans 13 on Ubuntu 20.04.

I would like to change some default configurations in netbeans.conf, notably JDK. I know that I can change this on the command line. However, I would like to do this via netbeans.conf.

In past versions of NetBeans, this meant creating a
~/snap/netbeans/common/data/[version]/etc directory, copying in
/snap/netbeans/current/netbeans/etc/netbeans.conf, and editing that file.

That no longer appears to work. I have added the following to netbeans.conf:

netbeans_jdkhome="/opt/Java/jdk17"

This does not change the default JDK from 11 (current at the time of install) to 17.

I've also tried the above without the quotes.

Running netbeans --jdkhome /opt/Java/jdk17 works as expected.

The only options seem to be:

1. Uninstall NetBeans, set the default JDK to /opt/Java/jdk17, reinstall NetBeans
2. Launch NetBeans from the command line with --jdkhome /opt/Java/jdk17

Thoughts on where to look greatly appreciated.

. . . just my two cents
/mde/

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to