Netbeans 8.2 installation Error [No JDK found] in mac m1

2.3k views Asked by At

I tried to install Netbeans 8.2 in my macOS Monterey 12.0.1 but it's giving me the error NO JDK FOUND.

enter image description here

And I have already installed JDK 8...

enter image description here

My System Preferences are

enter image description here

Please anyone help me with this error....

Thank You.

1

There are 1 answers

2
ChrFoyer On

Found a guide on this website. Basically open Terminal and enter echo $JAVA_HOME Then copy the path you get to your clipboard. Find the netbeans.conf file. It might be somewhere similar to /Applications/NetBeans/NetBeans 8.2.app/Contents/Resources/NetBeans/etc. Finally, paste that path you found earlier after netbeans_jdkhome= inside the quotation marks.

Should look something like netbeans_jdkhome="/Library/Java/JavaVirtualMachines/jdk-11.0.10.jdk/Contents/Home"