Fetching contributors…
Cannot retrieve contributors at this time
55 lines (34 sloc) 1.65 KB

Indy SDK for Java

This Java wrapper currently requires Java 8 (e.g. the openjdk-8-jdk package in Debian/Ubuntu).

Pull requests welcome!

Not ready for production use! Not all commands work properly! Use at your own risk!

How to install

In your maven project add to pom.xml file next content:

  1. Inside repositories tag block add:

  2. Inside dependencies tag block add:

    org.hyperledger indy 1.3.1-dev-410

Note that before you can use java wrapper you must install c-callable SDK. See the section "How-to-install" in Indy SDK

How to build

First, build the native "indy" library at

cargo build

Then copy the resulting to ./lib/.

Then run

mvn clean install


Use environment variable RUST_LOG={info|debug|trace} to output logs of Libindy.

If your application that uses libindy crashes with a Null Pointer Exception then probably the libindy shared library could not be loaded properly. If you have build libindy from source then either put the resulting shared library where your operating system searches for shared libraries or set appropriate environment variables to help the OS's loader to find them.

On Ubuntu either copy to /usr/local/lib or set LD_LIBRARY_PATH to the directory that contains

export LD_LIBRARY_PATH=<path to>