public class JvmInfo extends Object
| Modifier and Type | Method and Description |
|---|---|
static JvmInfo |
create() |
String |
getClassVersion()
Retrieves the version number of the Java class format.
|
String |
getDefaultCharset()
Retrieves the default charset in this JVM.
|
String |
getDefaultTimeZone()
Retrieves the default time zone in this JVM.
|
List<String> |
getInputArguments()
Retrieves a list of input arguments passed to the JVM from all sources, except for the arguments passed to the
main() method.
|
String |
getJreVendor()
Retrieves the vendor of the Java Runtime Environment (JRE).
|
String |
getJreVersion()
Retrieves the version of the Java Runtime Environment (JRE).
|
String |
getSpecVersion()
Retrieves the version of the Java language spec.
|
Date |
getStartedTimestamp()
Retrieves the timestamp denoting when the JVM started execution.
|
String |
getVmName()
Retrieves the implementation name of this Java Virtual Machine.
|
String |
getVmVendor()
Retrieves the vendor of this Java Virtual Machine.
|
String |
getVmVersion()
Retrieves the implementation version of this Java Virtual Machine.
|
public static JvmInfo create()
public String getSpecVersion()
RuntimeMXBean.getSpecVersion()public String getClassVersion()
public String getJreVersion()
public String getJreVendor()
public String getVmName()
RuntimeMXBean.getVmName()public String getVmVendor()
RuntimeMXBean.getVmVendor()public String getVmVersion()
RuntimeMXBean.getVmVersion()public List<String> getInputArguments()
RuntimeMXBean.getInputArguments()public Date getStartedTimestamp()
RuntimeMXBean.getStartTime()public String getDefaultTimeZone()
TimeZone.getDefault()public String getDefaultCharset()
Charset.defaultCharset()Copyright © 2016–2017. All rights reserved.