Skip to content
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Sophia Java/Scala Bindings

this is still a work in progress

If you are looking at this page you may be interested in checking out Sophia Db in a JVM environment, the provided interface is still pretty rough for much of the functionalities, but, please, do not be scared! As soon as you find something that is hard to do just ping me with an issue.

At the moment I have no real world use cases of the db so, please, help me also underlying useful functions to be bumped up to the power of Scala from a scaring plain C form!

Hot to install

First of all clone sophia db repo

git clone

than make the db library itself

cd sophia

clone the java bindings

cd ..
git clone

link the library in the base directory

cd sophia-java
ln -s ../sophia/
#and on osX you may need also
ln -s ../sophia/

go into the C bindings dir

cd LibSophiaJava

##Use it

SBT is the used build tool, please check to start it with the C libraries in the "java.library.path" or use (


At this point you can easily add the library at your projects, for example in another sbt project add in build.sbt

libraryDependencies ++= Seq("unicredit" %% "sophia_java" % "0.0.2-SNAPSHOT")

Please check that the C dependencies are always in your java.library.path during execution of your code.


Test on other systems, pull requests, help requests and improvement proposal of any kind will always be appreciated!


Jni bindings and Scala usage of Sophia DB




No releases published
You can’t perform that action at this time.