public final class Environment
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static int |
getGroupId()
Returns the unix group id of the current user.
|
static boolean |
getIs64BitJVM()
Returns true if the JVM is running on a 64 bit process
|
static boolean |
getIs64BitOperatingSystem()
Returns true if the JVM is running on a 64 bit os
|
static boolean |
getIsARM()
Returns true if the JVM is running on an ARM processor
|
static int |
getUserId()
Returns the unix user id of the current user.
|
static boolean |
isMac()
Returns true if the JVM is running on a macintosh
|
static boolean |
isUnix()
Returns true if the JVM is running on a unix like operating system
|
static boolean |
isWindows()
Returns true if the JVM is running on Windows
|
public static int getUserId()
public static int getGroupId()
public static boolean isMac()
public static boolean isUnix()
public static boolean isWindows()
public static boolean getIs64BitOperatingSystem()
public static boolean getIs64BitJVM()
public static boolean getIsARM()