You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Joseph Henry 45260c4e69 Modification to blocking bahavior of zts_start, is now settable. Improved address family handling in JNI 9 years ago
..
zerotier Modification to blocking bahavior of zts_start, is now settable. Improved address family handling in JNI 9 years ago
ExampleApp.java Modification to blocking bahavior of zts_start, is now settable. Improved address family handling in JNI 9 years ago
Makefile Simplified java binding example 9 years ago
README.md Simplified java binding example 9 years ago

README.md

ZeroTier with Java via JNI


To get this example project to work, do the following:

  • From libzt main directory, build shared library: make shared_jni_lib
  • Copy the resultant dynamic library (*.so or *.dylib) from build/ to this current directory
  • Change to this directory and make example_java_app
  • Run: java -cp "." ExampleApp

Notes:

Upon execution, it will load the libzt dynamic library via the loadLibrary method and begin generating an identity.