DEV Community

loading...

Discussion on: MacOS users, Java problems in Big Sur? HELP

Collapse
oyarzun profile image
oyarzun

The workaround is to manually set the JDK path in the netbeans.conf file.

e.g. with AdoptOpenJDK 8 installed.

sudo vi /Applications/NetBeans/Apache\ NetBeans\ 12.1.app/Contents/Resources/NetBeans/netbeans/etc/netbeans.conf
Enter fullscreen mode Exit fullscreen mode
netbeans_jdkhome="/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home"
Enter fullscreen mode Exit fullscreen mode