Hi Folks!
I've been having a particularly weird issue and am wondering if anyone has any ideas. For a while now (a month or more) I've been successfully using jME 1.0. I got it from the CVS repository and followed the directions for integration with Eclipse. It's all been good so far.
A couple of days ago I ran a CVS update and now I am getting an UnsatisfiedLinkError. I verified that the natives were still in the right place and pointed to correctly and I'm still getting the problem. Here's my total log dump:
Jul 7, 2008 11:00:03 PM com.jme.scene.Node <init>
INFO: Node created.
Jul 7, 2008 11:00:04 PM com.jme.app.BaseGame start
INFO: Application started.
Jul 7, 2008 11:00:04 PM com.jme.system.PropertiesIO <init>
INFO: PropertiesIO created
Jul 7, 2008 11:00:04 PM com.jme.system.PropertiesIO load
INFO: Read properties
Jul 7, 2008 11:00:04 PM class jmetest.renderer.TestShadowPass start()
SEVERE: Exception in game loop
java.lang.UnsatisfiedLinkError: /Users/mbastian/Documents/workspace/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:75)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:68)
at org.lwjgl.Sys.loadLibrary(Sys.java:84)
at org.lwjgl.Sys.<clinit>(Sys.java:101)
at org.lwjgl.opengl.Display.<clinit>(Display.java:111)
at com.jme.system.lwjgl.LWJGLPropertiesDialog.<init>(LWJGLPropertiesDialog.java:153)
at com.jme.app.AbstractGame.getAttributes(AbstractGame.java:192)
at com.jme.app.BaseGame.start(BaseGame.java:62)
at jmetest.renderer.TestShadowPass.main(TestShadowPass.java:92)
Jul 7, 2008 11:00:04 PM com.jme.app.BaseSimpleGame cleanup
INFO: Cleaning up resources.
Jul 7, 2008 11:00:04 PM com.jme.system.lwjgl.LWJGLDisplaySystem <init>
INFO: LWJGL Display System created.
Jul 7, 2008 11:00:04 PM com.jme.app.BaseGame start
INFO: Application ending.
To validate that I do have the natives on the path, I removed them from the path and got a different log dump:
Jul 7, 2008 11:02:35 PM com.jme.scene.Node <init>
INFO: Node created.
Jul 7, 2008 11:02:36 PM com.jme.app.BaseGame start
INFO: Application started.
Jul 7, 2008 11:02:36 PM com.jme.system.PropertiesIO <init>
INFO: PropertiesIO created
Jul 7, 2008 11:02:36 PM com.jme.system.PropertiesIO load
INFO: Read properties
Jul 7, 2008 11:02:36 PM class jmetest.renderer.TestShadowPass start()
SEVERE: Exception in game loop
java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1753)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at org.lwjgl.Sys$1.run(Sys.java:75)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:68)
at org.lwjgl.Sys.loadLibrary(Sys.java:84)
at org.lwjgl.Sys.<clinit>(Sys.java:101)
at org.lwjgl.opengl.Display.<clinit>(Display.java:111)
at com.jme.system.lwjgl.LWJGLPropertiesDialog.<init>(LWJGLPropertiesDialog.java:153)
at com.jme.app.AbstractGame.getAttributes(AbstractGame.java:192)
at com.jme.app.BaseGame.start(BaseGame.java:62)
at jmetest.renderer.TestShadowPass.main(TestShadowPass.java:92)
Jul 7, 2008 11:02:36 PM com.jme.app.BaseSimpleGame cleanup
INFO: Cleaning up resources.
Jul 7, 2008 11:02:36 PM com.jme.system.lwjgl.LWJGLDisplaySystem <init>
INFO: LWJGL Display System created.
Jul 7, 2008 11:02:36 PM com.jme.app.BaseGame start
INFO: Application ending.
Finally, I tried rolling back the code base by a few days, a week, then several months. I still get the same problems. It seems as if all of a sudden something broke and I don't know what.
I pulled down jME 2 from Google and it works just fine.
Any ideas? I am at a total loss.