|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.util.JDK
public final class JDK
A simple class that fills a hole in the JDK. It parses out the version numbers of the JDK we are running. Example:
1.6.0_u14 == major = 1 minor = 6, subminor = 0, update = 14
| Method Summary | |
|---|---|
static int |
getMajor()
|
static int |
getMinor()
|
static int |
getSubMinor()
|
static int |
getUpdate()
|
static boolean |
ok()
See if the current JDK is legal for running GlassFish |
static java.lang.String |
toStringStatic()
No instances are allowed so it is pointless to override toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean ok()
public static int getMajor()
public static int getMinor()
public static int getSubMinor()
public static int getUpdate()
public static java.lang.String toStringStatic()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||