Is this a console application? I think the launcher won’t show that. So the 
program actually runs, it just not displays a console window.

Gruss
Bernd
--
http://bernd.eckenfels.net

________________________________
Von: core-libs-dev <[email protected]> im Auftrag von 
Skillzore Gaming <[email protected]>
Gesendet: Mittwoch, Januar 16, 2019 9:15 PM
An: [email protected]
Betreff: jpackage usage

Hi!

I am trying out jpackage from https://jdk.java.net/jpackage/. I have been 
trying to figure out how to get it to build a working exe file.
I have a helloWorld.jar built by gradle which is runnable and runs fine with 
"java -jar helloWorld.jar". But when I try to use it to build an exe file, the 
resulting installation (from the built exe file) does not work as expected.
I build the exe file with
jpackage.exe create-installer exe -n "hello" -j helloWorld.jar -o . -i . -c 
HelloWorld

It installs just fine, but when trying to run the resulting hello.exe nothing 
happens. I think that I am doing something wrong in the creation of the exe. I 
am a bit unsure of what the -o, -i and -c parameters are intended to do and 
that is probably where I fail.
Any insight would be appreciated since I am hoping to use this on a larger 
project later and the interwebs do not have much information on this as of yet.

Regards, Simon

Reply via email to