public class JavaRuntime
extends java.lang.Object
Constructor and Description |
---|
JavaRuntime()
Initializes this JRE entry.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId()
Returns the current ID used for the JRE.
|
java.io.File |
getLocation()
Returns the location of this JRE.
|
void |
setId(java.lang.String newid)
Changes the current ID used for the JRE.
|
void |
setLocation(java.io.File newlocation)
Changes the location for this JRE.
|
public void setId(java.lang.String newid)
newid
- The new ID for the JRE.public java.lang.String getId()
public void setLocation(java.io.File newlocation)
newlocation
- The new location of this JRE.public java.io.File getLocation()