- java.lang.Object
-
- util.misc.JavaVersion
-
public class JavaVersion extends java.lang.Object
This class detects the Java-Version
-
-
Field Summary
Fields Modifier and Type Field Description static int
VERSION_1_0
static int
VERSION_1_1
static int
VERSION_1_2
static int
VERSION_1_3
static int
VERSION_1_4
static int
VERSION_1_5
static int
VERSION_1_6
static int
VERSION_1_7
static int
VERSION_1_8
static int
VERSION_NOTFOUND
-
Constructor Summary
Constructors Constructor Description JavaVersion()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
getVersion()
Returns the Version of Java.
-
-
-
Field Detail
-
VERSION_NOTFOUND
public static final int VERSION_NOTFOUND
- See Also:
- Constant Field Values
-
VERSION_1_0
public static final int VERSION_1_0
- See Also:
- Constant Field Values
-
VERSION_1_1
public static final int VERSION_1_1
- See Also:
- Constant Field Values
-
VERSION_1_2
public static final int VERSION_1_2
- See Also:
- Constant Field Values
-
VERSION_1_3
public static final int VERSION_1_3
- See Also:
- Constant Field Values
-
VERSION_1_4
public static final int VERSION_1_4
- See Also:
- Constant Field Values
-
VERSION_1_5
public static final int VERSION_1_5
- See Also:
- Constant Field Values
-
VERSION_1_6
public static final int VERSION_1_6
- See Also:
- Constant Field Values
-
VERSION_1_7
public static final int VERSION_1_7
- See Also:
- Constant Field Values
-
VERSION_1_8
public static final int VERSION_1_8
- See Also:
- Constant Field Values
-
-