public final class JavaVersion extends Object
Constructor and Description |
---|
JavaVersion() |
Modifier and Type | Method and Description |
---|---|
static int |
getJavaMajorVersion()
Retrieves the major java runtime version as an integer.
|
static boolean |
isJdk8OrLower()
Checks if the runtime java version is JDK 8 or lower.
|
public static int getJavaMajorVersion()
public static boolean isJdk8OrLower()
Copyright © 2005–2018 MojoHaus. All rights reserved.