java.lang.Object | |
↳ | com.pnfsoftware.jeb.util.base.SystemUtil |
Convenient variables and methods to retrieve OS and running JVM information.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public static final String | javaspecversion | Java specification version string | |||||||||
public static final String | javavendor | Java vendor | |||||||||
public static final String | javaversion | Java version string | |||||||||
public static final String | osarch | Bitness of the currently executing JRE (this is not the OS bitness!) | |||||||||
public static final String | osname | Operating system name | |||||||||
public static final String | osversion | Operating system version string |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
SystemUtil() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static String | getJavaSpecificationVersion() | ||||||||||
static String | getJavaVendor() | ||||||||||
static String | getJavaVersion() | ||||||||||
static int |
getMajorJavaVersion()
Extract the major number from the Java VM executing the method.
| ||||||||||
static String | getOsArchitecture() | ||||||||||
static String | getOsName() | ||||||||||
static String | getOsVersion() | ||||||||||
static int |
parseMajorJavaVersion(String s)
Extract the major number from a standard Java version string.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Java specification version string
Java vendor
Java version string
Bitness of the currently executing JRE (this is not the OS bitness!)
Operating system name
Operating system version string
Extract the major number from the Java VM executing the method.
Extract the major number from a standard Java version string.
s | version string |
---|