| java.lang.Object com.tc.util.runtime.VmVersion
VmVersion | final public class VmVersion (Code) | | Stores parsed version information
|
Constructor Summary | |
public | VmVersion(Properties props) Construct with system properties, which will be parsed to determine version. |
equals | public boolean equals(Object o)(Code) | | Parameters: o - Other version True if other version has identical version string |
getMajorVersion | public int getMajorVersion()(Code) | | Get major version (ie 2 in 1.2.3)
Major version |
getMegaVersion | public int getMegaVersion()(Code) | | Given the history of SunOS and Java version numbering by Sun, this will return '1' for a long time to come. Mega
version = 1 in 1.2.3
Mega version |
getMinorVersion | public int getMinorVersion()(Code) | | Get minor version (ie 3 in 1.2.3)
Minor version |
getPatchLevel | public String getPatchLevel()(Code) | | Get patch level (ie 12 in 1.2.3_12)
Patch level |
hashCode | public int hashCode()(Code) | | |
isIBM | public boolean isIBM()(Code) | | True if IBM JVM |
isJDK14 | public boolean isJDK14()(Code) | | True if JDK 1.4 |
isJDK15 | public boolean isJDK15()(Code) | | True if JDK 1.5 |
isJDK16 | public boolean isJDK16()(Code) | | True if JDK 1.6 |
isJDK17 | public boolean isJDK17()(Code) | | True if JDK 1.7 |
isJRockit | public boolean isJRockit()(Code) | | True if BEA JRockit |
thisVMisIBM | static boolean thisVMisIBM()(Code) | | |
|
|