简体   繁体   中英

How can I install Netbeans 8.2 with JDK 8 on Big Sur

I am having a problem with installing Netbeans 8.2 on my new MacBook Pro 13 (M1). I already have Netbeans 8.2 installed on my PC desktop, but I can't install it on my Mac. It's isn't my first time that I installed it on a pc, but this time I really don't know how to install it. First thing what I did was to download the JDK 8 file to my Mac and installed it ( https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html ), after that I dowloaded Netbeans 8.2 (version "All", https://netbeans.org/downloads/old/8.2/ ) and installed it. But now comes my problem, when begin installing it, a pop-up pops up (No Java found, NetBeans IDE cannot be installed. This software can be installed with Java 8 or newer. Please download and install the latest update of Java 8 from http://www.oracle.com/technetwork/java/javase/downloads/index.html and restart NetBeans installation.) So now I am stuck. I have looked everywhere on the internet to find the problem solve it but found nothing. I would love to get some help with my problem. Thank you./(PS. I am new in the world of Mac-os. I have tried some advise's from stack overflow to get working with the terminal, but no success.)

I have solved it. I first needed to download "Homebrew" on my Mac and after that I downloaded Netbeans 8.2 in the terminal with this "brew install --cask netbeans-java-se" after that I needed to edit the my path and now it works fine.

go to terminal then paste this command. 'brew install --cask netbeans'

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