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