简体   繁体   中英

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

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

在此处输入图像描述

And I have already installed JDK 8...

在此处输入图像描述

My System Preferences are

在此处输入图像描述

Please anyone help me with this error....

Thank You.

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"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM