public final class SystemInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static boolean |
areSymLinksSupported |
static boolean |
IS_AT_LEAST_JAVA9 |
static boolean |
is32Bit |
static boolean |
is64Bit |
static boolean |
isAppleJvm |
static boolean |
isAzulJvm |
static boolean |
isChromeOS |
static boolean |
isFileSystemCaseSensitive |
static boolean |
isFreeBSD |
static boolean |
isGNOME |
static boolean |
isI3 |
static boolean |
isIbmJvm |
static boolean |
isJetBrainsJvm |
static boolean |
isKDE |
static boolean |
isLinux |
static boolean |
isMac |
static boolean |
isMacIntel64 |
static boolean |
isMacOSCatalina |
static boolean |
isMacOSElCapitan |
static boolean |
isMacOSHighSierra |
static boolean |
isMacOSLeopard |
static boolean |
isMacOSLion |
static boolean |
isMacOSMavericks |
static boolean |
isMacOSMojave |
static boolean |
isMacOSMountainLion |
static boolean |
isMacOSSierra |
static boolean |
isMacOSSnowLeopard |
static boolean |
isMacOSTiger |
static boolean |
isMacOSYosemite |
static boolean |
isMacSystemMenu |
static boolean |
isOracleJvm |
static boolean |
isSolaris |
static boolean |
isSunJvm |
static boolean |
isUnix |
static boolean |
isWayland |
static boolean |
isWin10OrNewer |
static boolean |
isWin2kOrNewer |
static boolean |
isWin7OrNewer |
static boolean |
isWin8OrNewer |
static boolean |
isWindows |
static boolean |
isWindowsXP
Deprecated.
use
isWinXpOrNewer |
static boolean |
isWinVistaOrNewer |
static boolean |
isWinXpOrNewer |
static boolean |
isXfce |
static boolean |
isXWindow |
static java.lang.String |
JAVA_RUNTIME_VERSION |
static java.lang.String |
JAVA_VENDOR |
static java.lang.String |
JAVA_VERSION |
static java.lang.String |
OS_ARCH |
static java.lang.String |
OS_NAME |
static java.lang.String |
OS_VERSION |
Constructor and Description |
---|
SystemInfo() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getMacOSMajorVersion() |
static java.lang.String |
getMacOSMajorVersion(java.lang.String version) |
static java.lang.String |
getMacOSMajorVersionCode() |
static java.lang.String |
getMacOSMajorVersionCode(java.lang.String version) |
static java.lang.String |
getMacOSMinorVersionCode() |
static java.lang.String |
getMacOSMinorVersionCode(java.lang.String version) |
static java.lang.String |
getMacOSVersionCode() |
static java.lang.String |
getMacOSVersionCode(java.lang.String version) |
static java.lang.String |
getOsNameAndVersion() |
static boolean |
hasXdgMime() |
static boolean |
hasXdgOpen() |
static boolean |
isJavaVersionAtLeast(int major) |
static boolean |
isJavaVersionAtLeast(int major,
int minor,
int update) |
static boolean |
isJavaVersionAtLeast(java.lang.String v)
Deprecated.
|
static boolean |
isOsVersionAtLeast(java.lang.String version) |
public static final java.lang.String OS_NAME
public static final java.lang.String OS_VERSION
public static final java.lang.String OS_ARCH
public static final java.lang.String JAVA_VERSION
public static final java.lang.String JAVA_RUNTIME_VERSION
public static final java.lang.String JAVA_VENDOR
public static final boolean isWindows
public static final boolean isMac
public static final boolean isLinux
public static final boolean isFreeBSD
public static final boolean isSolaris
public static final boolean isUnix
public static final boolean isChromeOS
public static final boolean isAppleJvm
public static final boolean isOracleJvm
public static final boolean isSunJvm
public static final boolean isIbmJvm
public static final boolean isAzulJvm
public static final boolean isJetBrainsJvm
public static final boolean IS_AT_LEAST_JAVA9
public static final boolean isWin2kOrNewer
public static final boolean isWinXpOrNewer
public static final boolean isWinVistaOrNewer
public static final boolean isWin7OrNewer
public static final boolean isWin8OrNewer
public static final boolean isWin10OrNewer
public static final boolean isXWindow
public static final boolean isWayland
public static final boolean isGNOME
public static final boolean isKDE
public static final boolean isXfce
public static final boolean isI3
public static final boolean isMacSystemMenu
public static final boolean isFileSystemCaseSensitive
public static final boolean areSymLinksSupported
public static final boolean is32Bit
public static final boolean is64Bit
public static final boolean isMacIntel64
public static final boolean isMacOSTiger
public static final boolean isMacOSLeopard
public static final boolean isMacOSSnowLeopard
public static final boolean isMacOSLion
public static final boolean isMacOSMountainLion
public static final boolean isMacOSMavericks
public static final boolean isMacOSYosemite
public static final boolean isMacOSElCapitan
public static final boolean isMacOSSierra
public static final boolean isMacOSHighSierra
public static final boolean isMacOSMojave
public static final boolean isMacOSCatalina
@Deprecated public static final boolean isWindowsXP
isWinXpOrNewer
public static boolean isOsVersionAtLeast(java.lang.String version)
public static boolean hasXdgOpen()
public static boolean hasXdgMime()
public static java.lang.String getMacOSMajorVersion()
public static java.lang.String getMacOSMajorVersion(java.lang.String version)
public static java.lang.String getMacOSVersionCode()
public static java.lang.String getMacOSMajorVersionCode()
public static java.lang.String getMacOSMinorVersionCode()
public static java.lang.String getMacOSVersionCode(java.lang.String version)
public static java.lang.String getMacOSMajorVersionCode(java.lang.String version)
public static java.lang.String getMacOSMinorVersionCode(java.lang.String version)
public static java.lang.String getOsNameAndVersion()
public static boolean isJavaVersionAtLeast(int major)
public static boolean isJavaVersionAtLeast(int major, int minor, int update)
@Deprecated public static boolean isJavaVersionAtLeast(java.lang.String v)
isJavaVersionAtLeast(int, int, int)