Yes, I suspect this is caused by a bug in Big Sur where the /usr/libexec/java_home command is completely broken.
Feel free to complain to Apple through the Feedback app. I have, though they didn't seem to understand. Scott On Sun, Nov 15, 2020 at 10:18 AM David Gradwell <da...@gradwell.com> wrote: > Hi, > > > > Installing macOS Big Sur for the first time somehow lost the “which jdk to > use” setting that was I think set at installation time. > > > > This was fixed by editing: > > > > /Applications/NetBeans/Apache NetBeans > 12.1.app/Contents/Resources/NetBeans/netbeans/etc/netbeans.conf > > > > and setting: > > > > > netbeans_jdkhome="/Library/Java/JavaVirtualMachines/jdk-15.jdk/Contents/Home" > > > > > > Hope this helps as we all move to Big Sur ! > > > > Regards > > > > David > > > > >