--- old/src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WindowsAppImageBuilder.java 2019-07-03 08:55:24.342935300 -0400 +++ new/src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WindowsAppImageBuilder.java 2019-07-03 08:55:22.451298600 -0400 @@ -74,7 +74,6 @@ private final Path root; private final Path appDir; private final Path appModsDir; - private final String relativeModsDir; private final Path runtimeDir; private final Path mdir; private final Path binDir; @@ -125,7 +124,6 @@ this.root = imageOutDir.resolve(APP_NAME.fetchFrom(params)); this.appDir = root.resolve("app"); this.appModsDir = appDir.resolve("mods"); - this.relativeModsDir = "app/mods"; this.runtimeDir = root.resolve("runtime"); this.mdir = runtimeDir.resolve("lib"); this.binDir = root.resolve("bin"); @@ -143,7 +141,6 @@ this.root = imageOutDir.resolve(jreName); this.appDir = null; this.appModsDir = null; - this.relativeModsDir = null; this.runtimeDir = root; this.mdir = runtimeDir.resolve("lib"); this.binDir = null; @@ -200,11 +197,6 @@ } @Override - public String getRelativeModsDir() { - return relativeModsDir; - } - - @Override public void prepareApplicationFiles() throws IOException { Map originalParams = new HashMap<>(params); @@ -322,7 +314,7 @@ StandardCopyOption.REPLACE_EXISTING); writeCfgFile(params, root.resolve( - getLauncherCfgName(params)).toFile(), "$APPDIR\\runtime"); + getLauncherCfgName(params)).toFile()); prepareExecutableProperties(params);