/*
* Getting properties that affect group VM execution.
*/
String javaVmNameVal = (String) AccessController.doPrivileged(
new GetStringPropAction("java.vm.name")); //$NON-NLS-1$
String javaHomeVal = (String) AccessController.doPrivileged(
new GetStringPropAction("java.home")); //$NON-NLS-1$
String javaClassPathVal = (String) AccessController.doPrivileged(
new GetStringPropAction("java.class.path")); //$NON-NLS-1$
String policy = (String) AccessController.doPrivileged(
new GetStringPropAction("java.security.policy")); //$NON-NLS-1$
String bootClassPathVal = (String)
AccessController.doPrivileged(new GetStringPropAction(
(javaVmNameVal.equals("J9") //$NON-NLS-1$
? "org.apache.harmony.boot.class.path" //$NON-NLS-1$
: "sun.boot.class.path"))); //$NON-NLS-1$
String executable = new File(new File(