You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "thorsten-l (via GitHub)" <gi...@apache.org> on 2025/08/31 10:28:11 UTC
[I] Since NB26/27 with macOS the etc/netbeans.conf, netbeans_jdkhome=... ist not recognized anymore [netbeans]
thorsten-l opened a new issue, #8778:
URL: https://github.com/apache/netbeans/issues/8778
### Apache NetBeans version
Apache NetBeans 27
### What happened
It seems that the standard Launcher for macOS does not recognize the etc/netbeans.conf, netbeans_jdkhome=... settings anymore.
If i start NB via Terminal "/Applications/Apache\ NetBeans.app/Contents/Resources/netbeans/bin/netbeans" everything works as expected. With the provided installed Launcher the default JDK ist allways the JDK24 installed at "/Applications/Apache NetBeans.app/Contents/Home".
### Language / Project Type / NetBeans Component
_No response_
### How to reproduce
1. Install a different JDK in my case BellSoft Liberica.
2. Set etc/netbeans.conf, netbeans_jdkhome=<different java home>
3. Start the installed Laucher then ckeck "Menu: Tools->Java Platforms".
4. Default Platform is "/Applications/Apache NetBeans.app/Contents/Home"
5. Open Terminal
6. Start "/Applications/Apache\ NetBeans.app/Contents/Resources/netbeans/bin/netbeans"
7. Ckeck "Menu: Tools->Java Platforms".
8. Default Platform is "/Library/Java/JavaVirtualMachines/liberica-jdk-21.jdk/Contents/Home"
### Did this work correctly in an earlier version?
Apache NetBeans 25
### Operating System
macOS 15.6.1
### JDK
BellSoft Liberica JDK21 LTS
### Apache NetBeans packaging
FoAN provided installer
### Anything else
_No response_
### Are you willing to submit a pull request?
No
--
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.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
Re: [I] Since NB26/27 with macOS the etc/netbeans.conf, netbeans_jdkhome=... ist not recognized anymore [netbeans]
Posted by "neilcsmith-net (via GitHub)" <gi...@apache.org>.
neilcsmith-net closed issue #8778: Since NB26/27 with macOS the etc/netbeans.conf, netbeans_jdkhome=... ist not recognized anymore
URL: https://github.com/apache/netbeans/issues/8778
--
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
Re: [I] Since NB26/27 with macOS the etc/netbeans.conf, netbeans_jdkhome=... ist not recognized anymore [netbeans]
Posted by "neilcsmith-net (via GitHub)" <gi...@apache.org>.
neilcsmith-net commented on issue #8778:
URL: https://github.com/apache/netbeans/issues/8778#issuecomment-3240105910
Yes, this is expected behaviour of these installers. If you want to override the JDK that NetBeans runs with (or edit the netbeans.conf file), use the zip bundle.
I'm not sure why you want to use an alternative JDK. If for projects, just register as an extra platform in Java Platforms and configure the build appropriately.
--
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