public abstract class JVMInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
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() |
public static final int JDK_ID
public static final int J2SE_18
public static int jdbcMajorVersion()
public static int jdbcMinorVersion()
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.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.