public class JVM extends 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 |
static int |
JDK1_6N |
static int |
JDK1_7 |
static int |
JDK1_8 |
static int |
JDK1_9 |
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 |
isOneDotEight() |
boolean |
isOneDotFive() |
boolean |
isOneDotFour() |
boolean |
isOneDotNine() |
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
public static final int JDK1_8
public static final int JDK1_9
public JVM()
java.version
System propertypublic JVM(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()
public boolean isOneDotSixUpdateN()
true
if Nimbus is available and the version is 1.6;
false
otherwisepublic boolean isOneDotSeven()
public boolean isOneDotEight()
public boolean isOneDotNine()
Copyright © 2020. All rights reserved.