Following command which uses --runtime-image when creating installer on OS X fails.
> $JDK_HOME/bin/jpackage create-installer \
> --installer-type pkg \
> --input input-hello \
> --output output \
> --name simple \
> --main-jar hello.jar \
> --main-class hello \
works fine but using runtime-image:
> $JDK_HOME/bin/jpackage create-installer \
> --installer-type pkg \
> --input input-hello \
> --output output \
> --name simple \
> --main-jar hello.jar \
> --main-class hello \
> --runtime-image jdk11 \
fails.
> $JDK_HOME/bin/jpackage create-installer \
> --installer-type pkg \
> --input input-hello \
> --output output \
> --name simple \
> --main-jar hello.jar \
> --main-class hello \
works fine but using runtime-image:
> $JDK_HOME/bin/jpackage create-installer \
> --installer-type pkg \
> --input input-hello \
> --output output \
> --name simple \
> --main-jar hello.jar \
> --main-class hello \
> --runtime-image jdk11 \
fails.
- duplicates
-
JDK-8224604 jpackage create-installer with runtime-image fails on mac.
- Closed