@Deprecated public class Jvm extends Object implements JavaInfo
| Modifier and Type | Method and Description |
|---|---|
static Jvm |
current()
Deprecated.
|
File |
getExecutable(String name)
Deprecated.
|
Map<String,?> |
getInheritableEnvironmentVariables(Map<String,?> envVars)
Deprecated.
|
File |
getJavadocExecutable()
Deprecated.
|
File |
getJavaExecutable()
Deprecated.
|
File |
getJavaHome()
Deprecated.
The location of java.
|
File |
getRuntimeJar()
Deprecated.
Returns the runtime jar.
|
boolean |
getSupportsAppleScript()
Deprecated.
|
File |
getToolsJar()
Deprecated.
Returns the tools jar.
|
boolean |
isIbmJvm()
Deprecated.
|
boolean |
isJava5()
Deprecated.
|
boolean |
isJava5Compatible()
Deprecated.
|
boolean |
isJava6()
Deprecated.
|
boolean |
isJava6Compatible()
Deprecated.
|
boolean |
isJava7()
Deprecated.
|
String |
toString()
Deprecated.
|
public Jvm(Jvm current)
public static Jvm current()
public File getJavaExecutable() throws JavaHomeException
getJavaExecutable in interface JavaInfoJavaHomeException - when executable cannot be foundpublic File getJavadocExecutable() throws JavaHomeException
getJavadocExecutable in interface JavaInfoJavaHomeException - when executable cannot be foundpublic File getExecutable(String name) throws JavaHomeException
getExecutable in interface JavaInfoJavaHomeException - when executable cannot be foundpublic boolean isJava5()
public boolean isJava6()
public boolean isJava7()
public boolean isJava5Compatible()
public boolean isJava6Compatible()
public File getJavaHome()
JavaInfogetJavaHome in interface JavaInfopublic File getRuntimeJar()
JavaInfogetRuntimeJar in interface JavaInfopublic File getToolsJar()
JavaInfogetToolsJar in interface JavaInfopublic Map<String,?> getInheritableEnvironmentVariables(Map<String,?> envVars)
getInheritableEnvironmentVariables in interface JavaInfopublic boolean getSupportsAppleScript()
getSupportsAppleScript in interface JavaInfopublic boolean isIbmJvm()
Copyright © 2013. All rights reserved