You cannot use --runtime-image with JDK11 based runtime on Mac.
This worked in JDK14 and is broken in JDK15 and JDK16.
The jpackage command will run, but the resulting applauncher will look for the jli lib in the wrong place (for JDK11)
This library was moved from '<runtime>/lib/jli/libjli.dylib' in JDK11 to to '<runtime>/lib/libjli.dylib' in jdk12.
After the refactoring of the native code we are no longer looking in both places.
There is no such problem on Windows.
This worked in JDK14 and is broken in JDK15 and JDK16.
The jpackage command will run, but the resulting applauncher will look for the jli lib in the wrong place (for JDK11)
This library was moved from '<runtime>/lib/jli/libjli.dylib' in JDK11 to to '<runtime>/lib/libjli.dylib' in jdk12.
After the refactoring of the native code we are no longer looking in both places.
There is no such problem on Windows.
- relates to
-
JDK-8262300 jpackage app-launcher fails on linux when using JDK11 based runtime
- Closed