The Constants type exposes the following members.

Fields

  NameDescription
Public fieldStatic memberJAVA_1_1
True iff this is Java version 1.1.
Public fieldStatic memberJAVA_1_2
True iff this is Java version 1.2.
Public fieldStatic memberJAVA_1_3
True iff this is Java version 1.3.
Public fieldStatic memberJAVA_VENDOR
Public fieldStatic memberJAVA_VERSION
The value of System.getProperty("java.version"). *
Public fieldStatic memberJRE_IS_64BIT
Public fieldStatic memberLINUX
True iff running on Linux.
Public fieldStatic memberLUCENE_MAIN_VERSION
Public fieldStatic memberLUCENE_VERSION
Public fieldStatic memberOS_ARCH
Public fieldStatic memberOS_NAME
The value of System.getProperty("os.name"). *
Public fieldStatic memberOS_VERSION
Public fieldStatic memberSUN_OS
True iff running on SunOS.
Public fieldStatic memberWINDOWS
True iff running on Windows.

See Also