|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.javadocking.util.JvmVersionUtil
public class JvmVersionUtil
This class determines the version of the Java Virtual Machine.
| Field Summary | |
|---|---|
static int |
VERSION_3_OR_LESS
The integer for java 1.3 versions of the JVM. |
static int |
VERSION_4_or_5
The integer for java 5 versions of the JVM. |
static int |
VERSION_6_OR_MORE
The integer for java 6 versions of the JVM. |
| Method Summary | |
|---|---|
static int |
getVersion()
Gets the version of the JVM. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int VERSION_3_OR_LESS
public static final int VERSION_4_or_5
public static final int VERSION_6_OR_MORE
| Method Detail |
|---|
public static int getVersion()
java.lang.IllegalStateException - If the system property java.version does not start with
a x.x. x should be a number.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||