public interface IVMInstall2
IVMInstall
.
When an IVMInstall
implements this interface,
clients must call getVMArgs()
in place of
getVMArguments()
and setVMArgs(String)
in place of
setVMArguments(String[])
. This avoids the problem noted
in bug 73493.
Additionally, this interface optionally provides the Java version associated with a VM install.
Clients that implement IVMInstall
may additionally
implement this interface. However, it is strongly recommended that clients subclass
AbstractVMInstall
instead, which already implements
this interface, and will insulate clients from additional API additions in the future.
Modifier and Type | Method and Description |
---|---|
String |
getJavaVersion()
Returns a string representing the
java.version system property
of this VM install, or null if unknown. |
String |
getVMArgs()
Returns VM arguments to be used with this vm install whenever this
VM is launched as a raw string, or
null if none. |
void |
setVMArgs(String vmArgs)
Sets VM arguments to be used with this vm install whenever this
VM is launched as a raw string, possibly
null . |
String getVMArgs()
null
if none.null
if nonevoid setVMArgs(String vmArgs)
null
.vmArgs
- VM arguments to be used with this vm install whenever this
VM is launched as a raw string, possibly null
String getJavaVersion()
java.version
system property
of this VM install, or null
if unknown.java.version
system property
of this VM install, or null
if unknown.
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.