rokon12 opened a new issue #3870:
URL: https://github.com/apache/netbeans/issues/3870


   ### Apache NetBeans version
   
   Apache NetBeans 13
   
   ### What happened
   
   I could not install the latest Netbeans 13 on my MacBook Pro. I used SDKMAN 
to manage java on my machine. I have java installed on my device, and I have 
been working with other IDE (such as IntelliJ IDEA). 
   When I tried to install Netbeans, it shows the following message: 
   
   <img width="619" alt="image" 
src="https://user-images.githubusercontent.com/429073/160219823-4741d296-279d-45bf-8fe7-59f8bb88109d.png";>
   
   I tried with homebrew and I got the same message: 
   
   ```
   installer: Error - 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.
   ==> Purging files for version 13 of Cask netbeans
   Error: Failure while executing; `/usr/bin/sudo -E -- /usr/bin/env 
LOGNAME=bazlur.rahman USER=bazlur.rahman USERNAME=bazlur.rahman 
/usr/sbin/installer -pkg /opt/homebrew/Caskroom/netbeans/13/Apache\ NetBeans\ 
13.pkg -target /` exited with 1. Here's the output:
   The operation couldn’t be completed. Unable to locate a Java Runtime.
   Please visit http://www.java.com for information on installing Java.
   
   installer: Error - 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.
   ```
   
   ### How to reproduce
   
   Steps: 
   - Install java using SDKMAN.
   - Check your java version on your machine
   - Download apache Netbeans 13 and try to install it. 
   
   ### Did this work correctly in an earlier version?
   
   No
   
   ### Operating System
   
   macOS Monterey 
   
   ### JDK
   
   Java 18
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to