public final class Constants extends Object
Modifier and Type | Field and Description |
---|---|
static boolean |
FREE_BSD
True iff running on FreeBSD
|
static String |
JAVA_VENDOR |
static String |
JAVA_VERSION
The value of System.getProperty("java.version").
|
static boolean |
JRE_IS_64BIT
True iff running on a 64bit JVM
|
static boolean |
JRE_IS_MINIMUM_JAVA8 |
static boolean |
JRE_IS_MINIMUM_JAVA9 |
static String |
JVM_NAME |
static String |
JVM_SPEC_VERSION |
static String |
JVM_VENDOR
JVM vendor info.
|
static String |
JVM_VERSION |
static boolean |
LINUX
True iff running on Linux.
|
static String |
LUCENE_MAIN_VERSION
Deprecated.
Use
Version.LATEST |
static String |
LUCENE_VERSION
Deprecated.
Use
Version.LATEST |
static boolean |
MAC_OS_X
True iff running on Mac OS X
|
static String |
OS_ARCH |
static String |
OS_NAME
The value of System.getProperty("os.name").
|
static String |
OS_VERSION |
static boolean |
SUN_OS
True iff running on SunOS.
|
static boolean |
WINDOWS
True iff running on Windows.
|
public static final String JVM_VENDOR
public static final String JVM_VERSION
public static final String JVM_NAME
public static final String JVM_SPEC_VERSION
public static final String JAVA_VERSION
public static final String OS_NAME
public static final boolean LINUX
public static final boolean WINDOWS
public static final boolean SUN_OS
public static final boolean MAC_OS_X
public static final boolean FREE_BSD
public static final String OS_ARCH
public static final String OS_VERSION
public static final String JAVA_VENDOR
public static final boolean JRE_IS_64BIT
public static final boolean JRE_IS_MINIMUM_JAVA8
public static final boolean JRE_IS_MINIMUM_JAVA9
@Deprecated public static final String LUCENE_MAIN_VERSION
Version.LATEST
@Deprecated public static final String LUCENE_VERSION
Version.LATEST
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.