jpackage-maven-plugin icon indicating copy to clipboard operation
jpackage-maven-plugin copied to clipboard

Usage in Windows not possible

Open HiranChaudhuri opened this issue 4 years ago • 1 comments

Under Windows, running Java HostSpot 64bit JVM (Oracle) jpackage only accepts the type argument to be one of

  • app-image
  • exe
  • msi Whichever of those I configure in my pom.xml, the plugin always complains the given value is not part of the enum. On the other hand if I use values accpeted by the plugin (e.g. PLATFORM or DEFAULT) during the build jpackage complains that it cannot build for those types.

it seems the jpackage-maven-plugin was not meant to be used in Windows.

HiranChaudhuri avatar Feb 01 '22 19:02 HiranChaudhuri

If the is true / still valid, I will also run into this problem once this is solved, as my target is to generate an EXE from a Java21 RTI and my project's code.

EliasHeydrich avatar Jun 15 '25 19:06 EliasHeydrich