Problems on MAC with lwjgl

Started by lfri, October 31, 2008, 10:43:58

Previous topic - Next topic

lfri

I am trying to run Jmonkey with a Macintosh, but I keep running into problems.  If I am running Java 1.6 I get:

SEVERE: Exception in game loop
java.lang.UnsatisfiedLinkError: /Users/DAD/NetBeansProjects/JME_CVS/jme/lib/liblwjgl.jnilib:
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1822)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1739)
        at java.lang.Runtime.loadLibrary0(Runtime.java:823)
        at java.lang.System.loadLibrary(System.java:1030)
        at org.lwjgl.Sys$1.run(Sys.java:72)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.lwjgl.Sys.doLoadLibrary(Sys.java:65)
        at org.lwjgl.Sys.loadLibrary(Sys.java:81)
        at org.lwjgl.Sys.<clinit>(Sys.java:98)
        at org.lwjgl.opengl.Display.<clinit>(Display.java:129)
        at com.jme.system.lwjgl.LWJGLPropertiesDialog.<init>(Unknown Source)
        at com.jme.app.AbstractGame.getAttributes(Unknown Source)
        at com.jme.app.BaseGame.start(Unknown Source)
        at jmetest.effects.cloth.TestCloth.main(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at jmetest.TestChooser.start(Unknown Source)
        at jmetest.TestChooser.main(Unknown Source)



If I try running Java 1.5, I get this error


SEVERE: Exception in game loop
java.lang.LinkageError: Version mismatch: jar version is '17', native libary version is '12'
        at org.lwjgl.Sys.<clinit>(Sys.java:103)
        at org.lwjgl.opengl.Display.<clinit>(Display.java:129)
        at com.jme.system.lwjgl.LWJGLPropertiesDialog.<init>(Unknown Source)
        at com.jme.app.AbstractGame.getAttributes(Unknown Source)
        at com.jme.app.BaseGame.start(Unknown Source)
        at jmetest.effects.cloth.TestCloth.main(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at jmetest.TestChooser.start(Unknown Source)
        at jmetest.TestChooser.main(Unknown Source)


Any suggestions??

Matzon

make sure that the jar and native files match ... check your jre/ext folder, remove lwjgl from within there.