From 7baaa1bbdd6b72f2ee9a559eaa4f8cf46f6d52a4 Mon Sep 17 00:00:00 2001 From: Andrzej Kapolka Date: Thu, 10 Nov 2011 00:20:19 +0000 Subject: [PATCH] If we use javaw.exe on Windows, we get a pop-up error when the JVM fails to initialize. Use java.exe instead when we try the optimum arguments. --- src/main/java/com/threerings/getdown/data/Application.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/threerings/getdown/data/Application.java b/src/main/java/com/threerings/getdown/data/Application.java index f883d05..613c900 100644 --- a/src/main/java/com/threerings/getdown/data/Application.java +++ b/src/main/java/com/threerings/getdown/data/Application.java @@ -797,7 +797,7 @@ public class Application ArrayList args = new ArrayList(); // reconstruct the path to the JVM - args.add(LaunchUtil.getJVMPath(_appdir, _windebug)); + args.add(LaunchUtil.getJVMPath(_appdir, _windebug || optimum)); // add the classpath arguments args.add("-classpath");