Skip to content
IronCore Labs SDK for JVM Applications
Branch: master
Clone or download
Latest commit a826391 May 17, 2019

README.md

IronCore Labs IronOxide Java SDK

SDK for using IronCore Labs from your Java server side applications. This library is a thin Rust shim that wraps the Rust SDK and uses the Rust Swig toolset to generate JNI bindings to make it callable from the JVM.

Generating the JNI Bindings

Prerequisites:

From the root of this repository run cargo build. The resulting java directory will have the JNI binding code for the Java side and target/debug or target/release will have the dynamic library file you need to pull into your Java code. It will be libironoxide_java.so or libironoxide_java.dylib depending on your environment. This library will only work on the architecture from which it was built.

This binary should be placed in your Java library path and can then be loaded by calling

java.lang.System.loadLibrary("ironoxide_java")

Then all of the SDK classes can be imported from the com.ironcorelabs.sdk namespace.

Copyright (c) 2017-present IronCore Labs, Inc. All rights reserved.

You can’t perform that action at this time.