Applet version problem

Mar 11, 2008 8:16:46 AM com.jme.system.lwjgl.LWJGLDisplaySystem <init>

INFO: LWJGL Display System created.

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

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

at org.lwjgl.opengl.AWTGLCanvas.<clinit>(AWTGLCanvas.java:88)

at com.jme.system.lwjgl.LWJGLDisplaySystem.createCanvas(Unknown Source)

at com.jmex.awt.applet.SimpleJMEApplet.init(Unknown Source)

at sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)





The java code is built and running on the same version (1.6.0_03).

I had to self create the jar the native library

Everything comes from the same cvs download.



The closest I found when searching the archives was:

http://www.jmonkeyengine.com/jmeforum/index.php?topic=3090.0



I think, since I got everything at the same time I've invalidated the suggestion there.



Any suggestions?

Thanks

Make sure you use the native libraries that come with your jME version (not those from LWJGL.org)

Per the topic: http://www.jmonkeyengine.com/jmeforum/index.php?topic=7317.0

I created a windows_natives.jar file from the .dll files in the jme/lib directory created through a cvs download.



I guess I can try redownloading everything on the basis there may have been a bad build when I got this… 

Also: from the wiki page:



http://www.jmonkeyengine.com/wiki/doku.php?id=writing_a_jme_applet



natives.jar This jar contains the native bindings to OpenGL, sound API and input systems. (this file can be found in the lwjgl applettest download)



you can still in fact download this file from lwjgl.org (and it contains natives.jar etc.), except it's now called "lwjgl-applet"



https://sourceforge.net/project/showfiles.php?group_id=58488



Make sure you download the same version LWJGL as your local jME copy has!

I updated the wiki page.



Also this wiki page should be updated by someone:



http://www.jmonkeyengine.com/wiki/doku.php?id=dependecies_versions_to_be_use_with_different_jme_versions



Don't know from the top of my head what LWJGL version 1.0 uses and what CVS is on at the moment…

I did a complete reinstall.

Compiled with 1.5 rather than 1.6

resigned everything



And it worked.

Thanks for your suggestions.