public class JVM extends Object
Constructor and Description |
---|
JVM() |
Modifier and Type | Method and Description |
---|---|
String |
getJavaHome()
Returns the value of the JAVA_HOME environment variable
Do not include this information in telemetry, as it likely includes the
user's name
|
Memory |
getMemory()
Returns the information on the memory
|
String |
getName()
Returns the JVM name
|
String |
getRuntime()
Returns the JVM runtime name.
|
String |
getVersion()
Returns the JVM version
|
boolean |
isNativeImage()
Returns true if the server is a native image and false otherwise
|
public String getName()
public String getVersion()
public String getRuntime()
public Memory getMemory()
public String getJavaHome()
public boolean isNativeImage()
Copyright © 2022. All rights reserved.