public class JVM
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
JDK1_0 |
static int |
JDK1_1 |
static int |
JDK1_2 |
static int |
JDK1_3 |
static int |
JDK1_4 |
static int |
JDK1_5 |
static int |
JDK1_6 |
Constructor and Description |
---|
JVM()
Creates a new JVM data from the
java.version
System property |
JVM(java.lang.String p_JavaVersion)
Constructor for the OS object
|
Modifier and Type | Method and Description |
---|---|
static JVM |
current() |
boolean |
isOneDotFive() |
boolean |
isOneDotFour() |
boolean |
isOneDotOne() |
boolean |
isOneDotSix() |
boolean |
isOneDotThree() |
boolean |
isOneDotTwo() |
boolean |
isOrLater(int p_Version) |
public static final int JDK1_0
public static final int JDK1_1
public static final int JDK1_2
public static final int JDK1_3
public static final int JDK1_4
public static final int JDK1_5
public static final int JDK1_6
public JVM()
java.version
System propertypublic JVM(java.lang.String p_JavaVersion)
public static JVM current()
public boolean isOrLater(int p_Version)
public boolean isOneDotOne()
public boolean isOneDotTwo()
public boolean isOneDotThree()
public boolean isOneDotFour()
public boolean isOneDotFive()
public boolean isOneDotSix()