8262300: jpackage app-launcher fails on linux when using JDK11 based runtime

Reviewed-by: herrick, almatvee
This commit is contained in:
Alexey Semenyuk 2021-03-05 00:17:33 +00:00
parent 351889f1b5
commit ee09bada67

@ -55,6 +55,8 @@ void launchApp() {
AppLauncher appLauncher;
appLauncher.addJvmLibName(_T("lib/libjli.so"));
// add backup - older version such as JDK11 have it in jli sub-dir
appLauncher.addJvmLibName(_T("lib/jli/libjli.so"));
if (ownerPackage.name().empty()) {
// Launcher should be in "bin" subdirectory of app image.