|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.yestech.lib.runtime.Jvm
public final class Jvm
| Field Summary | |
|---|---|
static org.yestech.lib.runtime.Jvm.JvmVersion |
VERSION
Version info is parsed from system properties and stored here. |
| Method Summary | |
|---|---|
static void |
assertIsIbm()
|
static int |
getMajorVersion()
Get major version (ie 2 in 1.2.3) |
static int |
getMegaVersion()
Get mega version (ie 1 in 1.2.3) |
static int |
getMinorVersion()
Get minor version (ie 3 in 1.2.3) |
static java.lang.String |
getPatchLevel()
Get patch level (ie 12 in 1.4.2_12) |
static boolean |
isAzul()
True if Azul |
static boolean |
isIBM()
True if IBM JDK |
static boolean |
isJDK14()
True if mega/major is 1.4 |
static boolean |
isJDK15()
True if mega/major is 1.5 |
static boolean |
isJDK15Compliant()
True if JDK is 1.5+ |
static boolean |
isJDK16()
True if mega/major is 1.6 |
static boolean |
isJDK16Compliant()
True if JDK is 1.6+ |
static boolean |
isJDK17()
True if mega/major is 1.7 |
static boolean |
isJRockit()
True if JRockit |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final org.yestech.lib.runtime.Jvm.JvmVersion VERSION
| Method Detail |
|---|
public static int getMegaVersion()
public static int getMajorVersion()
public static int getMinorVersion()
public static java.lang.String getPatchLevel()
public static boolean isJDK14()
public static boolean isJDK15()
public static boolean isJDK16()
public static boolean isJDK17()
public static boolean isJDK15Compliant()
public static boolean isJDK16Compliant()
public static boolean isIBM()
public static void assertIsIbm()
public static boolean isJRockit()
public static boolean isAzul()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||