Hey Neil, I love solving problems and producing our own may be the path of least resistance, but I wonder if working with the existing JPackage so it closer matches our needs may be a good choice. I’m sure NetBeans cannot be the only solution that needs to solve these issues?
JEP-8208405[1] in progress is looking to enhance with the ability exclude the runtime. Thx Luff [1]: JDK-8208405Application Bundle without including Java Runtime<https://bugs-stage.openjdk.java.net/browse/JDK-8208405> On 11 Sep 2021, at 22:51, Neil C Smith <[email protected]<mailto:[email protected]>> wrote: On Sat, 11 Sep 2021, 21:43 Scott Palmer, <[email protected]<mailto:[email protected]>> wrote: What were the problems with using jpackage? It seems like it would be fairly simple to take an App Image and JRE image and do this for you. JPackage is great, but basically does too much. We have our own launchers, so we don't need that feature. Experiments I did I had a simple jar library launching the IDE in a child process, which worked but not ideal. Might be other ways. We have use cases where we might not want the bundled JDK runtime. We might want other packaging types. Neither of the ones implemented so far are in JPackage currently. There were a few other curious quirks, such as not being able to keep the IDE jars off the classpath, a problem with spaces in file names, etc. All in all, this seemed to me a better approach to try. Best wishes, Neil CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.
