According to the JEP, it should be possible to take a previously-created application image and generate an installer.
I tried the following:
jpackager create-installer --app-image <image> --output <outputdir>
and got the following error:
ERROR: Main jar or main class or main module must be specified.
Error: No application jars found
This should not need to be specified, since for an app image, the entry point is the executable application launcher.
I tried the following:
jpackager create-installer --app-image <image> --output <outputdir>
and got the following error:
ERROR: Main jar or main class or main module must be specified.
Error: No application jars found
This should not need to be specified, since for an app image, the entry point is the executable application launcher.
- duplicates
-
JDK-8210441 jpackager --main-jar should use Main-Class attribute as default if present
- Closed
- relates to
-
JDK-8210505 Unable to create an installer from an app-image on linux
- Resolved
-
JDK-8210506 Unable to create an installer from an app-image on MacOSX
- Resolved
-
JDK-8210367 invalid --app-image arg causes exception runnning light.exe in windows
- Resolved