Modifier and Type | Field and Description |
---|---|
private static JVM |
current |
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 |
static int |
JDK1_6N |
static int |
JDK1_7 |
private int |
jdkVersion |
Constructor and Description |
---|
JVM()
Creates a new JVM data from the
java.version
System property |
JVM(String p_JavaVersion)
Constructor for the OS object
|
Modifier and Type | Method and Description |
---|---|
static JVM |
current() |
boolean |
isOneDotFive() |
boolean |
isOneDotFour() |
boolean |
isOneDotOne() |
boolean |
isOneDotSeven() |
boolean |
isOneDotSix() |
boolean |
isOneDotSixUpdateN()
Determines if the version of JDK1_6 has Nimbus Look and Feel installed.
|
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 static final int JDK1_6N
public static final int JDK1_7
private int jdkVersion
public JVM()
java.version
System propertypublic boolean isOrLater(int p_Version)
public boolean isOneDotOne()
public boolean isOneDotTwo()
public boolean isOneDotThree()
public boolean isOneDotFour()
public boolean isOneDotFive()
public boolean isOneDotSix()
public boolean isOneDotSixUpdateN()
true
if Nimbus is available and the version is 1.6;
false
otherwisepublic boolean isOneDotSeven()
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses