You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/03/26 01:46:42 UTC
[GitHub] [netbeans] rokon12 opened a new issue #3870: Cannot install apache netbeans on MacBook Pro
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: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] neilcsmith-net commented on issue #3870: Cannot install apache netbeans on MacBook Pro
Posted by GitBox <gi...@apache.org>.
neilcsmith-net commented on issue #3870:
URL: https://github.com/apache/netbeans/issues/3870#issuecomment-1082886583
See also conversation at the end of the macOS vote thread - https://lists.apache.org/thread/8k4g47n8y7gyfbwhdmbhtryvjx30qdhd
Other option is to use an installer with bundled JDK runtime, under Community Installers at https://netbeans.apache.org/download/nb13/nb13.html Then you can use the SDKMAN managed JDKs for projects.
--
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: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] mbien commented on issue #3870: Cannot install apache netbeans on MacBook Pro
Posted by GitBox <gi...@apache.org>.
mbien commented on issue #3870:
URL: https://github.com/apache/netbeans/issues/3870#issuecomment-1079770983
SDKMAN most likely doesn't install the JDK as "runtime", discoverable by other applications (JREs technically don't exist anymore anyway).
- You could try to start the installer from a shell but put the JDK into the path first.
- Or you can download the platform independent zip distribution of NetBeans and edit `netbeans_jdkhome` in etc/netbeans.conf.
- Or you could install a JDK outside of SDKMAN
I am not a mac user so this is just a guess.
--
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: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists