On Tue, 23 Nov 2021 at 08:31, Zoran Sevarac <seva...@gmail.com> wrote: > Is there any info about the best way to bundle OpenJDK with Netbeans > Platform Application? > I've tried setting on conf file > netbeans_jdkhome="zulu8.58.0.13-ca-jdk8.0.312-win_x64"
Note that the platform and the IDE have different properties for this - you want to be using jdkhome. They also have different launchers that behave differently with this property - the IDE needs an absolute path, the platform can use a relative one. What's your build system? I've got an Ant build that does this - particularly see https://github.com/praxis-live/praxis-live/blob/master/build.xml#L114 As Geertjan mentioned, I'm working on a tool called NBPackage to build native packages / installers from a IDE or platform zip build, with optional JDK - this is at https://github.com/apache/netbeans-tools/pull/47 https://github.com/neilcsmith-net/netbeans-tools/tree/nbpackage/nbpackage Because of the current different behaviour of the launchers, NBPackage uses other ways of bundling incidentally - eg. the InnoSetup installer sets --jdkhome in the parameters of the shortcut. On Tue, 23 Nov 2021 at 09:01, Zoran Sevarac <seva...@gmail.com> wrote: > Great! > @Neil let me know if I can help. Absolutely! Please do. I've been tied up with the release recently, but discussion / help around NBPackage welcome, particularly with regard to RCP applications. I intend to use for that as well, but testing so far been IDE centric. Best wishes, Neil --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org For additional commands, e-mail: dev-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists