| |
|
| java.lang.Object com.tc.util.runtime.Vm
Vm | public class Vm (Code) | | Utility class for understanding the current JVM version. Access the VM version information by looking at
Vm.VERSION directly or calling the static helper methods.
|
Field Summary | |
final public static VmVersion | VERSION Version info is parsed from system properties and stored here. |
VERSION | final public static VmVersion VERSION(Code) | | Version info is parsed from system properties and stored here.
|
getMajorVersion | public static int getMajorVersion()(Code) | | Get major version (ie 2 in 1.2.3)
Major version |
getMegaVersion | public static int getMegaVersion()(Code) | | Get mega version (ie 1 in 1.2.3)
Mega version |
getMinorVersion | public static int getMinorVersion()(Code) | | Get minor version (ie 3 in 1.2.3)
Minor version |
getPatchLevel | public static String getPatchLevel()(Code) | | Get patch level (ie 12 in 1.4.2_12)
Patch level |
isIBM | public static boolean isIBM()(Code) | | True if IBM JDK
True if IBM JDK |
isJDK14 | public static boolean isJDK14()(Code) | | True if mega/major is 1.4
True if 1.4 |
isJDK15 | public static boolean isJDK15()(Code) | | True if mega/major is 1.5
True if 1.5 |
isJDK15Compliant | public static boolean isJDK15Compliant()(Code) | | True if JDK is 1.5+
True if JDK 1.5/1.6/1.7 |
isJDK16 | public static boolean isJDK16()(Code) | | True if mega/major is 1.6
True if 1.6 |
isJDK16Compliant | public static boolean isJDK16Compliant()(Code) | | True if JDK is 1.6+
True if JDK 1.6/1.7 |
isJDK17 | public static boolean isJDK17()(Code) | | True if mega/major is 1.7
True if 1.7 |
isJRockit | public static boolean isJRockit()(Code) | | True if JRockit
True if BEA Jrockit VM |
|
|
|