[SOLVED] Problems after jMonkeyVR.jar update

Hey, there!
I’ve been developing a VR app using phroot’s jMonkeyVR for a while.
So today I noticed he had updated the lib on github and I decided to update my version of it.
Right after I did it not even my most ridiculous program runs (Seriously, it just displays a static model on the screen)…
Not even the example (TestOpenVR.java) can be run.
Everytime I try to run I get a JNI error (log below).
Tried updating everything else, but no result…

Any ideas of what it could be?


Java Version:
java version “1.8.0_77”
Java™ SE Runtime Environment (build 1.8.0_77-b03)

Error message:
Error: A JNI error has occurred, please check your installation and try again
Exception in thread “main” java.lang.IncompatibleClassChangeError: Implementing class
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:495)
Java Result: 1

Are you on windows? If so, did you check if the windows libraries have been updated as well?

Tried both on Windows and Linux, none of them work.
Did not check if the windows libraries have been updated. But as far as I’m concerned, he only updated the jMonkeyVR.jar and nothing else.
Should I wait for him to update some other stuff to use it?

UPDATE: I have backdated the jMonkeyVR.jar version using old commits form GitHub.
It works now, as it did before. However, couldn’t figure what the earlier problem was…

It seems the java code in jMonkeyVR.jar requires some changes in one or other .dll. I haven’t tried it so I can’t give any more specific answer.

Anyway, thanks for your attention @rickard!