On Mon, 12 Jul 2021 at 22:17, Emilian Bold <emilian.b...@gmail.com> wrote:
> I don't think the Platform is opinionated about not including a JRE,

Absolutely, in fact in some ways the opposite ...

> NetBeans used to come as a JDK bundle in the Sun Microsystems and
> Oracle days. So, all the plumbing is still there and in the conf file
> is just a jdkhome to set.

If I remember correctly, the bundles installed the JDK though?  I
don't think I ever used one.

A key thing to add is that the jdk location in the conf file can be
relative, so inside the application folder, and entirely local not
"installed".  And while the conf value may be called jdk, it can be a
cut down (eg. jlink) runtime.

All 3 OS versions of PraxisLIVE do this for InnoSetup installer, macOS
app bundle and AppImage, the JDK is just unzipped inside an additional
folder alongside bin, etc, and the other clusters.  eg.
https://github.com/praxis-live/praxis-live/blob/master/build.xml#L108

A while back I wrote a short bash script to create a NetBeans AppImage
that does a similar thing, downloading the zip version of the IDE and
a JDK.  Only difference is it uses an additional simple launch script
that passes --jdkhome if available.
https://gist.github.com/neilcsmith-net/69bcb23bcc6698815438dc4e3df6caa3
 I must update that for 12.4!

Best wishes,

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

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

Reply via email to