Set sun.java.command and sun.java.launcher properties.

This commit is contained in:
jfrijters 2011-08-01 08:41:05 +00:00
Родитель cb64bf58ea
Коммит 19b474c2a3
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -354,6 +354,9 @@ public class Starter
{
props["java.class.path"] = mainClass;
}
// like the JDK we don't quote the args (even if they contain spaces)
props["sun.java.command"] = String.Join(" ", args, vmargsIndex - 1, args.Length - (vmargsIndex - 1));
props["sun.java.launcher"] = "SUN_STANDARD";
Startup.setProperties(props);
Startup.enterMainThread();
string[] vmargs;