It took me some fiddling to fix the following message:

java.lang.UnsatisfiedLinkError: no jhdf5 in java.library.path

Hopefully this post will save someone else some time.

After you get the pre-built binaries, un-tar the archive to the /lib sub-directory of your sbt project. The /lib directory will look like this:

If you run sbt -> console, and look at your java.library.path, you’ll probably see something like this:

scala> println(System.getProperty("java.library.path"))

So I added some symlinks to /usr/lib/java:


Where dir is replaced with the path to your sbt project’s directory.

After that, it worked.

  • Andre Garrigo

    Just wanted to say THANK YOU as I had been facing a similar problem for the last few hours. Your solution worked perfectly!

    • AdamDKlein

      Awesome, glad to help!

© 2014 Adam Klein's Blog Suffusion theme by Sayontan Sinha, modified by Adam :)