public abstract class JVMInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
JVMInfo() |
Modifier and Type | Method and Description |
---|---|
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.
|
static int |
jdbcMajorVersion() |
static int |
jdbcMinorVersion() |
private static boolean |
vmCheck(java.lang.String vmVersion,
java.lang.String id)
Check the vmVersion against a speciifc value.
|
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
public static int jdbcMajorVersion()
public static int jdbcMinorVersion()
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()
Apache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.