Bug fixes for JNI layer

This commit is contained in:
Joseph Henry
2018-07-12 16:53:40 -07:00
parent 6916c3f36f
commit 9ccb16cbfa
3 changed files with 8 additions and 6 deletions

View File

@@ -15,7 +15,7 @@ example_java_app_1.6:
javac -source 1.6 -bootclasspath /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.41.x86_64/jre/lib/rt.jar -target 1.6 *.java
copy_dynamic_lib:
cp ../../../$(BUILD)/$(SHARED_LIB) .
cp ../../../bin/lib/$(SHARED_LIB) .
jar:
jar cf libzt.jar libzt.dylib zerotier/ZeroTier.class

View File

@@ -11,7 +11,8 @@
### JAR file (with embedded C++ dynamic library)
```
make example_app
make example_java_app
make copy_dynamic_lib
make jar
```