Class JVMUtils
- java.lang.Object
-
- org.zeroturnaround.javarebel.support.JVMUtils
-
public class JVMUtils extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringJAVA_FULLVERSIONstatic StringJAVA_RUNTIME_VERSIONstatic StringJAVA_VERSIONstatic StringOS_ARCH
-
Constructor Summary
Constructors Constructor Description JVMUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PropertiescopySystemPropertiesForDetailedVersion()static StringgetDetailedJavaVersion(String fullVersion, String runtimeVersion, String version, String osArch)Used to distinguish java runtimes that need different bootstrap.static StringgetDetailedJavaVersion(Map<String,String> props)
-
-
-
Field Detail
-
JAVA_FULLVERSION
public static final String JAVA_FULLVERSION
- See Also:
- Constant Field Values
-
JAVA_RUNTIME_VERSION
public static final String JAVA_RUNTIME_VERSION
- See Also:
- Constant Field Values
-
JAVA_VERSION
public static final String JAVA_VERSION
- See Also:
- Constant Field Values
-
OS_ARCH
public static final String OS_ARCH
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDetailedJavaVersion
public static String getDetailedJavaVersion(String fullVersion, String runtimeVersion, String version, String osArch)
Used to distinguish java runtimes that need different bootstrap.- Parameters:
fullVersion-runtimeVersion-version-osArch-- Returns:
-
copySystemPropertiesForDetailedVersion
public static Properties copySystemPropertiesForDetailedVersion()
-
-