netbeansnetbeans-12

How to get NetBeans 12.0 to launch on Mac (MAC OS 11.0 beta / Big Sur)


On Mac (Big Sur) when I click on the Netbeans 12 icon in the doc it bounces briefly then fails to launch Netbeans.


Solution

  • The answer helped me launch Netbeans from the terminal. I added this change to make my dock icon launch Netbeans like before.

    I changed the Netbeans config file to make it launch with the Java path:

    1. Like the previous post indicates find your JDK path with this command in the Terminal
    /usr/libexec/java_home -v '1.7*'
    1. Now add this path to the Netbeans conf file. To do this:
    #netbeans_jdkhome="/path/to/jdk"

    Uncomment this line and change it for your path (the one you found in point 1) something like

    netbeans_jdkhome="/Library/Java/JavaVirtualMachines/jdk-15.jdk/Contents/Home"
    

    Save the netbeans.conf file and try and launch from the Dock icon