Version mismatch: jar version is '11', native libary version is '12

Greetings.  I'm in the process of setting up my JME development environment.



I followed the directions on the Eclipse/CVS walk though and the examples run fine.  The problem occurs when I build the JME jars and attempt to use them in another project.  I get this exception:



Aug 26, 2008 7:44:49 AM com.jme.app.BaseGame start

INFO: Application started.

Aug 26, 2008 7:44:49 AM com.jme.system.PropertiesIO <init>

INFO: PropertiesIO created

Aug 26, 2008 7:44:49 AM com.jme.system.PropertiesIO load

INFO: Read properties

Aug 26, 2008 7:44:49 AM class gt.test.HelloWorld start()

SEVERE: Exception in game loop

java.lang.LinkageError: Version mismatch: jar version is '11', native libary version is '12'

at org.lwjgl.Sys.<clinit>(Sys.java:105)

at org.lwjgl.opengl.Display.<clinit>(Display.java:111)

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 gt.test.HelloWorld.main(HelloWorld.java:17)

Aug 26, 2008 7:44:49 AM com.jme.app.BaseSimpleGame cleanup

INFO: Cleaning up resources.

Aug 26, 2008 7:44:49 AM com.jme.system.lwjgl.LWJGLDisplaySystem <init>

INFO: LWJGL Display System created.

Aug 26, 2008 7:44:49 AM com.jme.app.BaseGame start

INFO: Application ending.



I'm guessing its because the lwjgl stuff that comes with the CVS version was compiled using java 5.0 and I am using Java 6.  Is there any way to get around this?


Err, ok so I restarted eclipse and now it works.  Random.

Theres no such thing as Random  :wink: