[LWJGL 2.5]: java.lang.LinkageError

Started by darkman19320, August 14, 2010, 10:52:26

Previous topic - Next topic

darkman19320

Good Morning everyone!
This morning I have got a new error:
Exception in thread "main" java.lang.LinkageError: Version mismatch: jar version is '18', native libary version is '19'
	at org.lwjgl.Sys.<clinit>(Sys.java:103)
	at org.lwjgl.opengl.GLContext.<clinit>(GLContext.java:108)
	at visu.window.Window2.initGLCanvas(Window2.java:135)
	at visu.window.Window2.<init>(Window2.java:106)
	at tests.TestWindow2.main(TestWindow2.java:36)

The jar in question are the JNI.
How to change the required version?
Must we have the condition (if (native_jni_version != required_version)) respected? Can this condition be replaced by (if (native_jni_version < required_version)) ?
Thanks

Matthias

No, you always need the same native version as the JAR version.
If this error is new then you must have replaced the native binaries. Where did you put the native files?