|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectartisynth.core.util.JVMInfo
public class JVMInfo
Constructor Summary | |
---|---|
JVMInfo()
|
Method Summary | |
---|---|
static void |
addJavaLibraryPath(java.lang.String newPath)
Adds location to current java.library.path. |
static void |
appendDefaultLibraryPath()
Add Default to library-path |
static java.lang.String |
getCPUSpeed()
|
static java.lang.String |
getOSType()
Returns machine type of the System: Windows, Linux, Darwin. |
static boolean |
isJava14()
Returns true if ImageJ is running on a Java 1.4 or greater JVM. |
static boolean |
isJava15()
Returns true if ImageJ is running on a Java 1.5 or greater JVM. |
static boolean |
isJava2()
Returns true if ImageJ is running on Java 2. |
static boolean |
isLinux()
Returns true if ImageJ is running on Linux. |
static boolean |
isMacintosh()
Returns true if this machine is a Macintosh. |
static boolean |
isMacOSX()
Returns true if this machine is a Macintosh running OS X. |
static boolean |
isWindows()
Returns true if this machine is running Windows. |
static void |
main(java.lang.String[] args)
Prints system info |
static void |
printglinfo()
Prints opengl info and exists |
static void |
printUsrPathField()
Prints content of ClassLoader.usr_path field. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JVMInfo()
Method Detail |
---|
public static void appendDefaultLibraryPath() throws java.lang.SecurityException, java.lang.NoSuchFieldException, java.lang.IllegalArgumentException, java.lang.IllegalAccessException
java.lang.NoSuchFieldException
java.lang.SecurityException
java.lang.IllegalAccessException
java.lang.IllegalArgumentException
public static void addJavaLibraryPath(java.lang.String newPath)
newPath
- public static void printUsrPathField()
public static java.lang.String getOSType()
public static boolean isMacintosh()
public static boolean isMacOSX()
public static boolean isWindows()
public static boolean isJava2()
public static boolean isJava14()
public static boolean isJava15()
public static boolean isLinux()
public static void main(java.lang.String[] args)
public static java.lang.String getCPUSpeed()
public static void printglinfo()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |