I'm using Apache Netbeans 12.2, after updated to Big Sur 11.1 I couldn't open Netbeans anymore, however I manage to solve it with this
netbeans_jdkhome="/Library/Java/JavaVirtualMachines/jdk-11.0.7.jdk/Contents/Home"
Thanks to Iraunak
But this part "jdk-11.0.7.jdk"
is the tricky part, 1st you check your java version via terminal, enter java -version or javac -version
then you'll get your current java version on your machine. Mine is _111
then I put it in the string "/Library/Java/JavaVirtualMachines/jdk-1.8_111.jdk/Contents/Home"
Guess what? It works! Not only it solved the "can't open Netbeans after update to Big Sur" problem, it also solved my "couldn't compile SASS and create CSS/source-map" problems. AWESOME!
I hope this will help.