public final class PlatformDescription extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ANDROID_VERSION
Android version.
|
static String |
DALVIK
JVM_NAME prefix for Dalvik/Android
|
static String |
GNU
JVM_NAME prefix for GCJ
|
static String |
JROCKIT
JVM_NAME prefix for JRockit
|
static String |
JVM_NAME
JVM name
|
static String |
OPENJDK
JVM_NAME prefix for the OpenJDK
|
static String |
PERC
JVM_NAME prefix for Aonix PERC
|
static String |
SPECIFICATION_VERSION
Java specification version
|
static String |
SUN
JVM_NAME prefix for Sun Java HotSpot
|
static String |
VENDOR
Vendor name
|
static String |
VENDOR_VERSION
Vendor version
|
static String |
VM_INFO
JVM version
|
static String |
VM_VERSION
JVM version
|
Modifier and Type | Method and Description |
---|---|
static boolean |
isThisJVM(String name)
Check if the current JVM is of the type passed in parameter.
|
public static final String JROCKIT
public static final String GNU
public static final String SUN
public static final String OPENJDK
public static final String PERC
public static final String DALVIK
public static final String SPECIFICATION_VERSION
public static final String VM_VERSION
public static final String VM_INFO
public static final String VENDOR_VERSION
public static final String VENDOR
public static final String JVM_NAME
public static final int ANDROID_VERSION
public static boolean isThisJVM(String name)
System.getProperty("java.vm.name").startWith(name)
.name
- jvm name we are looking forCopyright © 2006–2016 Joe Walnes, Henri Tremblay, Leonardo Mesquita. All rights reserved.