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 at com.jme3.system.NativeLibraryLoader.loadNativeLibrary(NativeLibraryLoader.java:593) at com.jme3.system.JmeDesktopSystem.initialize(JmeDesktopSystem.java:348) at com.jme3.system.JmeDesktopSystem.newContext(JmeDesktopSystem.java:271) at com.jme3.system.JmeSystem.newContext(JmeSystem.java:162) at com.jme3.app.LegacyApplication.start(LegacyApplication.java:461) at com.jme3.app.LegacyApplication.start(LegacyApplication.java:424) at com.jme3.app.SimpleApplication.start(SimpleApplication.java:125)
Not even adding the .so file to run directory did the trick. At this point I’m out of ideas.
Ubuntu 17.10, 64 bit (if it helps for anything)