The java bindings rely on building and installing the native C++ library.
You have two options to allow the JVM to find the library:
1) Put it in a system library location such as /usr/local/lib (debian) or C:\windows\system32 (windows).
2) Tell the JVM where to look for libraries:
-Djava.library.path=<folder w/ .dll or .so>