Figured it out after reading the source shell script and the log.
The user directory is ~/snap/netbeans/current (which is a symlink).Create an etc directory under this, and add the netbeans.conf file with the appropriate modifications.
The comments on various forums are incorrect. I apologize for the noise. . . . just my two cents /mde/ On 3/29/2022 1:54 PM, Mark Eggers wrote:
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 NetBeans2. Launch NetBeans from the command line with --jdkhome /opt/Java/jdk17 Thoughts on where to look greatly appreciated. . . . just my two cents /mde/
OpenPGP_signature
Description: OpenPGP digital signature
