diff -r ac7b7fe5f7d8 -r 82c78b40b39d src/jdk.jpackage/share/native/libapplauncher/Package.cpp --- a/src/jdk.jpackage/share/native/libapplauncher/Package.cpp Tue Jul 02 12:03:49 2019 -0400 +++ b/src/jdk.jpackage/share/native/libapplauncher/Package.cpp Wed Jul 03 17:36:06 2019 -0400 @@ -78,9 +78,7 @@ // Main JAR. config->GetValue(keys[CONFIG_SECTION_APPLICATION], keys[CONFIG_MAINJAR_KEY], FBootFields->FMainJar); - FBootFields->FMainJar = - FilePath::IncludeTrailingSeparator(GetPackageAppDirectory()) - + FilePath::FixPathForPlatform(FBootFields->FMainJar); + FBootFields->FMainJar = FilePath::FixPathForPlatform(FBootFields->FMainJar); // Main Module. config->GetValue(keys[CONFIG_SECTION_APPLICATION],