Skip to content

Commit ee09bad

Browse files
author
Alexey Semenyuk
committed
8262300: jpackage app-launcher fails on linux when using JDK11 based runtime
Reviewed-by: herrick, almatvee
1 parent 351889f commit ee09bad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/jdk.jpackage/linux/native/libapplauncher/LinuxLauncherLib.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ void launchApp() {
5555

5656
AppLauncher appLauncher;
5757
appLauncher.addJvmLibName(_T("lib/libjli.so"));
58+
// add backup - older version such as JDK11 have it in jli sub-dir
59+
appLauncher.addJvmLibName(_T("lib/jli/libjli.so"));
5860

5961
if (ownerPackage.name().empty()) {
6062
// Launcher should be in "bin" subdirectory of app image.

0 commit comments

Comments
 (0)