peter-lawrey / Java-Thread-Affinity

Control thread affinity for Java
379 stars 77 forks source link

Thread affinity can fail on headless linux #37

Closed peter-lawrey closed 4 years ago

peter-lawrey commented 11 years ago

Exception in thread "main" java.lang.UnsatisfiedLinkError: /java/jdk1.7.0_13_linux/jre/lib/i386/xawt/libmawt.so: libXtst.so.6: cannot open shared object file: No such file or directory at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1825) at java.lang.Runtime.load0(Runtime.java:792) at java.lang.System.load(System.java:1059) at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1846) at java.lang.Runtime.loadLibrary0(Runtime.java:845) at java.lang.System.loadLibrary(System.java:1084) at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:67) at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:47) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Toolkit.loadLibraries(Toolkit.java:1648) at java.awt.Toolkit.(Toolkit.java:1670) at java.awt.Component.(Component.java:595) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:188) at com.sun.jna.Platform.(Platform.java:64) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:188) at com.higherfrequencytrading.affinity.AffinitySupport.isJNAAvailable(AffinitySupport.java:65) at com.higherfrequencytrading.affinity.AffinitySupport.(AffinitySupport.java:45)

peter-lawrey commented 4 years ago

Too old, won't fix