# Class: com.pnfsoftware.jeb.util.base.SystemUtil

Convenient variables and methods to retrieve OS and running JVM information.

## Constructor: SystemUtil


## Static Field: javaspecversion
Type: `java.lang.String`
Description: Java specification version string

## Static Field: javavendor
Type: `java.lang.String`
Description: Java vendor

## Static Field: javaversion
Type: `java.lang.String`
Description: Java version string

## Static Field: osarch
Type: `java.lang.String`
Description: Bitness of the currently executing JRE \(this is not the OS bitness\!\)

## Static Field: osname
Type: `java.lang.String`
Description: Operating system name

## Static Field: osversion
Type: `java.lang.String`
Description: Operating system version string

## Static Method: getJavaSpecificationVersion
- return type: `java.lang.String`


## Static Method: getJavaVendor
- return type: `java.lang.String`


## Static Method: getJavaVersion
- return type: `java.lang.String`


## Static Method: getMajorJavaVersion
- return type: `int`

Description: Extract the major number from the Java VM executing the method.
return: the major version, 0 on error

## Static Method: getOsArchitecture
- return type: `java.lang.String`

Description: 
return: the bitness of the currently executing JRE \(this is not the OS bitness\!\)

## Static Method: getOsName
- return type: `java.lang.String`


## Static Method: getOsVersion
- return type: `java.lang.String`


## Static Method: parseMajorJavaVersion
- parameter: `s`, type: `java.lang.String`
- return type: `int`

Description: Extract the major number from a standard Java version string.
parameter: s: version string
return: the major version, 0 on error

