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.
This commit is contained in:
@@ -797,7 +797,7 @@ public class Application
|
||||
ArrayList<String> args = new ArrayList<String>();
|
||||
|
||||
// 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");
|
||||
|
||||
Reference in New Issue
Block a user