Re: javapackager usage
The javapackager tool, which was delivered as part of the Oracle JDK releases along with JavaFX in JDK 8 through JDK 10, has been removed from the JDK as of JDK 11. A JEP for a new packaging tool, jpackager, is being proposed and discussed on core-libs-dev [1]. -- Kevin [1] http://mail.openjdk.java.net/pipermail/core-libs-dev/2018-May/053503.html On 6/26/2018 6:43 AM, Buchberger, Joerg wrote: If this is the wrong mailing list for javapackager questions, I'd appreciate any hints regarding where to ask instead in case you happen to know. Thank you. -Original Message- From: openjfx-dev [mailto:openjfx-dev-boun...@openjdk.java.net] On Behalf Of Buchberger, Joerg Sent: Freitag, 22. Juni 2018 13:30 To: openjfx-dev@openjdk.java.net Subject: javapackager usage Hi everyone Is this the right mailing list for all questions about javapackager? I tried to use javapackager for my spring-boot web application on Windows. So, naturally, it runs headless. Although, creating native image and running that exe was successful, there are some caveats I could not solve yet: * how to prevent second such process from starting * is that what -singleton flag is for? it gets rejected as unsupported option * running it as a service * is that what -daemon flag or WinServiceBundler is for? no idea how either works * and I failed to get such exe to work with sc and nssm - each fails to start for different reason * as the exe produced with javapackager immediately returns, I don't get how to stop my process * only way to stop seems sending the kill to the task - is there a better way? Thanks for your attention. Cheers Jörg p.s. here the command and options I used with Java 9 JDK: javapackager -deploy -nosign -native image -daemon -allpermissions -v -outdir build/dist -outfile vron -name vron -appclass org.springframework.boot.loader.JarLauncher -v -srcdir .\build\libs
RE: javapackager usage
If this is the wrong mailing list for javapackager questions, I'd appreciate any hints regarding where to ask instead in case you happen to know. Thank you. -Original Message- From: openjfx-dev [mailto:openjfx-dev-boun...@openjdk.java.net] On Behalf Of Buchberger, Joerg Sent: Freitag, 22. Juni 2018 13:30 To: openjfx-dev@openjdk.java.net Subject: javapackager usage Hi everyone Is this the right mailing list for all questions about javapackager? I tried to use javapackager for my spring-boot web application on Windows. So, naturally, it runs headless. Although, creating native image and running that exe was successful, there are some caveats I could not solve yet: * how to prevent second such process from starting * is that what -singleton flag is for? it gets rejected as unsupported option * running it as a service * is that what -daemon flag or WinServiceBundler is for? no idea how either works * and I failed to get such exe to work with sc and nssm - each fails to start for different reason * as the exe produced with javapackager immediately returns, I don't get how to stop my process * only way to stop seems sending the kill to the task - is there a better way? Thanks for your attention. Cheers Jörg p.s. here the command and options I used with Java 9 JDK: javapackager -deploy -nosign -native image -daemon -allpermissions -v -outdir build/dist -outfile vron -name vron -appclass org.springframework.boot.loader.JarLauncher -v -srcdir .\build\libs
javapackager usage
Hi everyone Is this the right mailing list for all questions about javapackager? I tried to use javapackager for my spring-boot web application on Windows. So, naturally, it runs headless. Although, creating native image and running that exe was successful, there are some caveats I could not solve yet: * how to prevent second such process from starting * is that what -singleton flag is for? it gets rejected as unsupported option * running it as a service * is that what -daemon flag or WinServiceBundler is for? no idea how either works * and I failed to get such exe to work with sc and nssm - each fails to start for different reason * as the exe produced with javapackager immediately returns, I don't get how to stop my process * only way to stop seems sending the kill to the task - is there a better way? Thanks for your attention. Cheers Jörg p.s. here the command and options I used with Java 9 JDK: javapackager -deploy -nosign -native image -daemon -allpermissions -v -outdir build/dist -outfile vron -name vron -appclass org.springframework.boot.loader.JarLauncher -v -srcdir .\build\libs