UnsatisfiedLinkError LinuxMouse

I get the following error when trying to run the Hello World app on Arch Linux.





SEVERE: Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]

java.lang.UnsatisfiedLinkError: org.lwjgl.opengl.LinuxMouse.nGetButtonCount(J)I

at org.lwjgl.opengl.LinuxMouse.nGetButtonCount(Native Method)

at org.lwjgl.opengl.LinuxMouse.(LinuxMouse.java:88)

at org.lwjgl.opengl.LinuxDisplay.createMouse(LinuxDisplay.java:927)

at org.lwjgl.input.Mouse.create(Mouse.java:271)

at org.lwjgl.input.Mouse.create(Mouse.java:297)

at org.lwjgl.opengl.Display.initControls(Display.java:1054)

at org.lwjgl.opengl.Display.createWindow(Display.java:310)

at org.lwjgl.opengl.Display.create(Display.java:845)

at org.lwjgl.opengl.Display.create(Display.java:754)

at com.jme3.system.lwjgl.LwjglDisplay.createContext(LwjglDisplay.java:137)

at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:113)

at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:205)

at java.lang.Thread.run(Thread.java:722)





Any Suggestions?

seems to be like a flase version of lwjgl is present. (or none)

The aur has two versions avaliable, one pulls from trunk on the lwjgl repository. Thats the one giving this error. If I remove that one and install the other, it gives the error that GLSL and opengl must be installed. I think I have something missing in LD_LIBRARY_PATH.





echo $LD_LIBRARY_PATH





/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64:/usr/lib/:/lib/:/lib64/

I’m not exactly sure what I did, I restarted and now everything seems to be functioning. Thanks for the help.

Well jme3 usually extracts the natives from a jar if not found, maybee that happend, just guessing tho?