stephengold / Libbulletjme

A JNI interface to Bullet Physics and V-HACD
https://stephengold.github.io/Libbulletjme/lbj-en/English/overview.html
Other
86 stars 10 forks source link

java.lang.NoClassDefFoundError: com/simsilica/mathd/Matrix3d #20

Closed neo-expert closed 1 year ago

neo-expert commented 1 year ago

For some reason with the latest version I am getting this Exception:

Exception in thread "main" java.lang.NoClassDefFoundError: com/simsilica/mathd/Matrix3d
    at com.jme3.bullet.util.NativeLibrary.countThreads(Native Method)
    at com.jme3.bullet.PhysicsSpace.<init>(PhysicsSpace.java:229)
    at com.jme3.bullet.PhysicsSpace.<init>(PhysicsSpace.java:199)
stephengold commented 1 year ago

One possible cause would be using a newer native library with an older Java library. Please make sure you've downloaded natives that correspond to the version you're using.

If that doesn't solve the issue, then I suggest you provide detailed instructions for reproducing the exception: a short, self contained, compilable example, including the versions of both libraries.

stephengold commented 1 year ago

@neo-expert Any update on this?

neo-expert commented 1 year ago

Ah it has resolved itself for some reason. I just recloned the project and the problem was gone.

stephengold commented 1 year ago

Thanks for the update. Let me know if the problem returns.