On Sat, 23 May 2026 at 11:15, Neil C Smith <[email protected]> wrote:
> The other is to just point people to downloading Temurin's JMods or
> using an external JDK for use with jlink.

 Thanks both.

If anyone else has the same problem, what I did was to change the
Default JDK in Options...Java...Maven from "JDK 26 (Default)" to one
that I installed via homebrew.

There's a slight wrinkle when adding a new JDK via "Manage Java
Platforms...Add Platform..." - if you navigate to
/opt/homebrew/Cellar/openjdk the IDE shows the installed JDK folder
(for example, 26.0.1) with the little yellow badge that indicates that
folder is a JDK, but then it doesn't work if you choose it. I think
this is because all the executable files in bin are symlinks. The
'true' JDK is in
/opt/homebrew/Cellar/openjdk/26.0.1/libexec/openjdk.jdk/Contents/Home.
Probably obvious to all but it took me a while to figure it out.

Peter

---------------------------------------------------------------------
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