|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.derby.iapi.services.info.JVMInfo
public abstract class JVMInfo
This class is used to determine which Java specification Derby will run at. For a useful discussion of how this class is used, please see DERBY-3176.
| Field Summary | |
|---|---|
static boolean |
J2ME
|
static int |
J2SE_14
|
static int |
J2SE_142
|
static int |
J2SE_15
|
static int |
J2SE_16
|
static int |
J2SE_17
|
static int |
J2SE_18
|
static int |
JDK_ID
The JVM's runtime environment. |
| Constructor Summary | |
|---|---|
JVMInfo()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
derbyVMLevel()
Return Derby's understanding of the virtual machine's environment. |
private static java.lang.String |
getSystemProperty(java.lang.String name)
Get system property. |
static boolean |
hasJNDI()
Determine whether we are running in a constrained environment. |
static boolean |
isIBMJVM()
Check whether this is IBM jvm. |
static boolean |
isSunJVM()
Check whether this is sun jvm. |
static void |
javaDump()
For IBM jvm, this method will dump more diagnostic information to file. |
private static boolean |
vmCheck(java.lang.String vmVersion,
java.lang.String id)
Check the vmVersion against a speciifc value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int JDK_ID
public static final int J2SE_14
public static final int J2SE_142
public static final int J2SE_15
public static final int J2SE_16
public static final int J2SE_17
public static final int J2SE_18
public static final boolean J2ME
| Constructor Detail |
|---|
public JVMInfo()
| Method Detail |
|---|
private static boolean vmCheck(java.lang.String vmVersion,
java.lang.String id)
public static java.lang.String derbyVMLevel()
private static java.lang.String getSystemProperty(java.lang.String name)
name - name of the propertypublic static final boolean isSunJVM()
public static final boolean isIBMJVM()
public static void javaDump()
public static boolean hasJNDI()
|
Built on Wed 2013-06-12 15:21:56+0000, from revision ??? | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||