0

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.

axy
  • 141
  • 9

1 Answers1

1

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"

Dharman
  • 30,962
  • 25
  • 85
  • 135
ChrFoyer
  • 26
  • 2
  • Sir, I can't even install Netbeans then how can I set Netbeans config. – axy Jan 13 '22 at 05:10
  • 1
    You make a good point. Here are some alternative solutions that worked for different people https://stackoverflow.com/questions/63570470/no-jdk-found-installing-apache-netbeans-ide-on-macos-big-sur – ChrFoyer Jan 13 '22 at 13:53