diff options
Diffstat (limited to 'netx/net/sourceforge/jnlp/Launcher.java')
-rw-r--r-- | netx/net/sourceforge/jnlp/Launcher.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/netx/net/sourceforge/jnlp/Launcher.java b/netx/net/sourceforge/jnlp/Launcher.java index 4d80252..11f0e12 100644 --- a/netx/net/sourceforge/jnlp/Launcher.java +++ b/netx/net/sourceforge/jnlp/Launcher.java @@ -329,11 +329,8 @@ public class Launcher { List<String> commands = new LinkedList<String>(); - String pathToWebstartBinary = System.getProperty("java.home") + - File.separatorChar + - "bin" + - File.separatorChar + - "javaws"; + // this property is set by the javaws launcher to point to the javaws binary + String pathToWebstartBinary = System.getProperty("java.icedtea-web.bin"); commands.add(pathToWebstartBinary); // use -Jargument format to pass arguments to the JVM through the launcher for (String arg : vmArgs) { |