But jpackage "only" generates a Setup.exe (or .msi installer) and requires 3rd party build tools. (InnoSetup/WiX-Toolset)
Plus you need to have the jlink/jdeps stuff working before that step. This breaks newcomers usually, when they are happy having it running in IntelliJ. When they want to show somebody and ask "how to generate an exe" they are told to use maven in the first place. (grallvm and uber.jar is also possible, making the situation even more complex ...)
Tell me about it, I recently went through exactly this series of painful steps and never got it working perfectly right. Having to build on a particular platform to make a build for that platform is just the cherry on top and was a jawdropping moment when I found out.
View all comments
Show parent comment
1
u/orxT1000 Jan 03 '25
But jpackage "only" generates a Setup.exe (or .msi installer) and requires 3rd party build tools. (InnoSetup/WiX-Toolset)
Plus you need to have the jlink/jdeps stuff working before that step.
This breaks newcomers usually, when they are happy having it running in IntelliJ. When they want to show somebody and ask "how to generate an exe" they are told to use maven in the first place. (grallvm and uber.jar is also possible, making the situation even more complex ...)