Over at Lightspeed Frontier we’ve switched to native bullet recently. So I’m trying to add the native libraries to the IntelliJ IDEA project. Easy enough, go to the libraries section and add the jars, right? Well no, it seems. jme3-bullet.jar was added no problem along with all the libs I was adding, while I had to manually point IDEA to jme3-bullet-native.jar and it still didn’t detect it as native libraries. Told it it’s native libs manually and it added it to the dependencies.
Now when I’m trying to run the project I get this:
Exception in thread "main" java.lang.UnsatisfiedLinkError: The required native library 'bulletjme' was not found in the classpath via 'native/linux/x86_64/libbulletjme.so'. Error message: no bulletjme in java.library.path
Not even adding the .so file to run directory did the trick. At this point I’m out of ideas.
Ok. Just in case it wasn’t clear, it’s not turning off auto dependency management. You still have that for all of the other stuff. It’s just for stuff that isn’t in a maven repo anywhere, you can drop the jars in a local lib directory and let gradle suck that up, too.