Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 730 Bytes

sdk_guide_java.md

File metadata and controls

15 lines (11 loc) · 730 Bytes

Tera Java SDK Guide

Implementation

  • Java-SDK invokes native-SDK through JNI library (libjni_tera.so).
  • Java-SDK uses Maven to automate the build of projects.

Have a quick try

  1. Build Tera. See BUILD.
  2. Deploy Tera. See pseudo-distributed mode.
  3. Add the path of libjni_tera.so to environment variable LD_LIBRARY_PATH.
  4. Set environment variable TERA_CONF_PATH to the path of tera.flag.
  5. Under the directory src/sdk/java, execute command mvn package to run the unittest and build JAR files.
  6. Install the output JAR files into the Maven repository to use Tera Java SDK in the future.