- Java-SDK invokes native-SDK through JNI library (libjni_tera.so).
- Java-SDK uses Maven to automate the build of projects.
- Build Tera. See BUILD.
- Deploy Tera. See pseudo-distributed mode.
- Add the path of libjni_tera.so to environment variable LD_LIBRARY_PATH.
- Set environment variable TERA_CONF_PATH to the path of tera.flag.
- Under the directory src/sdk/java, execute command mvn package to run the unittest and build JAR files.
- Install the output JAR files into the Maven repository to use Tera Java SDK in the future.