I am currently developing an application that uses FoundationDB Java bindings (downloaded from maven repository). As stated in the javadocs, it relies on the native libraries that are installed together with client binaries. The problem is that i wanted for my application to run in an environment where foundationdb client is not a requirement.
In order to solve this problem, I downloaded libfdb_c.dylib from FoundationDB Downloads page and set the system property “FDB_LIBRARY_PATH_FDB_C” with the absolute path of the library. I figured out the name of the system property by looking up the code from FDB.java and JNIUtil.java files of the Java API. But, i am still getting the error
Library not loaded: libfdb_c.dylib after loading
Is there a way to load the native dependencies of the FoundationDB Java API without installing the client binaries?