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.
|
|
6 years ago | |
|---|---|---|
| .. | ||
| src/com/zerotier/libzt/javasimpleexample | 6 years ago | |
| README.md | 6 years ago | |
README.md
How to compile/use this example:
-
Follow "Building from source" section from README.md in the root of this git repository (the linking step/example from that section does not apply to this example)
-
Create the java library .jar file:
make host_jar_release
for other host_jar variants see Makefile in the root of this git repository
- Copy the output .jar to this directory:
cp lib/lib/release/linux-x86_64/zt.jar examples/java/simpleExample/
- Now you can compile this example:
cd src
javac -cp ../zt.jar ./com/zerotier/libzt/javasimpleexample/*.java