public interface JDK extends Library
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
JDK_EXEC_PROPERTY |
static java.lang.String |
JDK_INSTALLED_VMS_PROPERTY |
static java.lang.String |
JDK_NAME_PROPERTY |
static java.lang.String |
JDK_SDK_BIN_DIR_PROPERTY |
static java.lang.String |
JDK_VERSION_NUMBER_PROPERTY |
LIBRARY_ID_PROPERTY, LIBRARY_NAME_PROPERTY
CLASSPATH_PROPERTY, DOCPATH_PROPERTY, ISLOCKED_PROPERTY, SOURCEPATH_PROPERTY
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getInstalledVMs() |
java.net.URL |
getJavaExecutable() |
java.lang.String |
getJavaExecutableNoConsole() |
VersionNumber |
getJavaVersion() |
java.net.URL |
getSDKBinDir() |
java.lang.String |
getSDKBinJavaExecutableNoConsole() |
java.util.Properties |
getSystemProperties()
Get the Java system proprerties as they would be set when running in this
JDK.
|
void |
setInstalledVMs(java.lang.String[] installedVMs) |
void |
setJavaExecutable(java.net.URL url) |
void |
setJavaVersion(VersionNumber ver) |
void |
setSDKBinDir(java.net.URL url) |
equivalent, getDefaultClassPath, getDefaultDocPath, getDefaultSourcePath, getID, getName, initFromLibrary, setDefaultClassPath, setDefaultDocPath, setDefaultSourcePath, setName
getClassPath, getDocPath, getSourcePath, isLocked, setClassPath, setDocPath, setLocked, setSourcePath
getIcon, getLongLabel, getShortLabel, getToolTipText, toString
static final java.lang.String JDK_NAME_PROPERTY
static final java.lang.String JDK_EXEC_PROPERTY
static final java.lang.String JDK_INSTALLED_VMS_PROPERTY
static final java.lang.String JDK_VERSION_NUMBER_PROPERTY
static final java.lang.String JDK_SDK_BIN_DIR_PROPERTY
java.net.URL getJavaExecutable()
void setJavaExecutable(java.net.URL url)
java.lang.String[] getInstalledVMs()
void setInstalledVMs(java.lang.String[] installedVMs)
VersionNumber getJavaVersion()
void setJavaVersion(VersionNumber ver)
java.net.URL getSDKBinDir()
void setSDKBinDir(java.net.URL url)
java.lang.String getSDKBinJavaExecutableNoConsole()
java.lang.String getJavaExecutableNoConsole()
java.util.Properties getSystemProperties()
-D
) or through API calls (such as
System.setProperty(java.lang.String, java.lang.String)
). The properties returned by this method may
or may not match the actual properties during a future execution of the
JVM. Callers should typically only use the standard Java properties
relating to the JDK implementation itself, such as java.home
or
java.version
, which will typically have the same values whenever
this JDK is run.