public class StandardVM extends AbstractVMInstall
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
VAR_PORT
If a StandardVM returns a string for #getDebugArgs(), the string may contain
the variable ${port}.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDebugArgs()
Returns arguments used to start this VM in debug mode or
null if default arguments should be used. |
java.lang.String |
getJavaVersion()
Returns a string representing the
java.version system property
of this VM install, or null if unknown. |
IVMRunner |
getVMRunner(java.lang.String mode)
Returns a VM runner that runs this installed VM in the given mode.
|
abort, equals, evaluateSystemProperties, getAttribute, getAttributes, getId, getInstallLocation, getJavadocLocation, getLibraryLocations, getName, getVMArgs, getVMArguments, getVMInstallType, hashCode, setAttribute, setInstallLocation, setJavadocLocation, setLibraryLocations, setName, setNotify, setVMArgs, setVMArgumentspublic static final java.lang.String VAR_PORT
public IVMRunner getVMRunner(java.lang.String mode)
IVMInstallgetVMRunner in interface IVMInstallgetVMRunner in class AbstractVMInstallmode - the mode the VM should be launched in; one of the constants
declared in org.eclipse.debug.core.ILaunchManagernull if the given mode
is not supported by this VM.org.eclipse.debug.core.ILaunchManagerpublic java.lang.String getJavaVersion()
IVMInstall2java.version system property
of this VM install, or null if unknown.getJavaVersion in interface IVMInstall2getJavaVersion in class AbstractVMInstalljava.version system property
of this VM install, or null if unknown.public java.lang.String getDebugArgs()
null if default arguments should be used.null if default arguments should be used