< prev index next >

src/jdk.incubator.jpackage/share/native/applauncher/JvmLauncher.cpp

Print this page

        

@@ -87,10 +87,15 @@
                 addArgument(*it);
             };
         }
     } while (0);
 
+    do {
+        addArgument(_T("-Djpackage.app-path=")
+                + SysInfo::getProcessModulePath());
+    } while (0);
+
     // No validation of data in config file related to how Java app should be
     // launched intentionally.
     // Just read what is in config file and put on jvm's command line as is.
 
     do { // Run modular app
< prev index next >