Hello Guest

[LWJGL 2.5]: java.lang.LinkageError

  • 1 Replies
  • 6735 Views
[LWJGL 2.5]: java.lang.LinkageError
« on: August 14, 2010, 10:52:26 »
Good Morning everyone!
This morning I have got a new error:
Code: [Select]
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

Re: [LWJGL 2.5]: java.lang.LinkageError
« Reply #1 on: August 14, 2010, 12:00:19 »
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?