This issue is similar to JDK-8251988
JDK11 has libjli.so in the directory `lib/jli` instead of `lib`. However, the resulting app-launcher from jpackage looks for the file in `lib` directory and therefore fails.
Fix
----
The fix is very similar toJDK-8251988 where we also look for the file in the old directory structure.
Workaround
-----------------
Once a JDK 11 runtime is created using jlink, manually copy `libjli.so` from `lib/jli` into `lib` directory. Then pass this runtime to jpackage.
JDK11 has libjli.so in the directory `lib/jli` instead of `lib`. However, the resulting app-launcher from jpackage looks for the file in `lib` directory and therefore fails.
Fix
----
The fix is very similar to
Workaround
-----------------
Once a JDK 11 runtime is created using jlink, manually copy `libjli.so` from `lib/jli` into `lib` directory. Then pass this runtime to jpackage.
- duplicates
-
JDK-8268000 jpackage app launcher doesn't work with GraalVM
-
- Closed
-
- relates to
-
JDK-8251988 jpackage --runtime-image fails on mac when using JDK11 based runtime.
-
- Closed
-