creating an installer directly with "--runtime-image jdk11"
> $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 \
it 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 \
it fails.
- duplicates
-
JDK-8224627 Creating installer with --runtime-image on OS X fails
- Resolved