public final class JDK extends Object
1.6.0_u14 == major = 1 minor = 6, subminor = 0, update = 14
| Modifier and Type | Method and Description |
|---|---|
static int |
getMajor() |
static int |
getMinor() |
static int |
getSubMinor() |
static int |
getUpdate() |
static JDK |
getVersion(String string) |
boolean |
newerOrEquals(JDK version) |
boolean |
newerThan(JDK version) |
static boolean |
ok()
See if the current JDK is legal for running GlassFish
|
boolean |
olderOrEquals(JDK version) |
boolean |
olderThan(JDK version) |
static String |
toStringStatic()
No instances are allowed so it is pointless to override toString
|
public static boolean ok()
public static int getMajor()
public static int getMinor()
public static int getSubMinor()
public static int getUpdate()
public boolean newerThan(JDK version)
public boolean newerOrEquals(JDK version)
public boolean olderThan(JDK version)
public boolean olderOrEquals(JDK version)
public static String toStringStatic()
Copyright © 2017–2020 Eclipse Foundation. All rights reserved.