LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: darkman19320 on August 14, 2010, 10:52:26

Title: [LWJGL 2.5]: java.lang.LinkageError
Post by: darkman19320 on August 14, 2010, 10:52:26
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
Title: Re: [LWJGL 2.5]: java.lang.LinkageError
Post by: Matthias 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?