Update documentation

This commit is contained in:
Joseph Henry
2021-05-25 15:24:28 -07:00
parent 30d2e5f129
commit ede730de1c
4 changed files with 27 additions and 71 deletions

View File

@@ -1,9 +1,15 @@
# Java example
1). Build or download the `libzt-1.3.3.jar`, copy it to this directory
Build or download the `libzt-${VERSION}.jar`, and copy it to this directory.
2). Run `make`
```
make
java -cp ".:libzt-${VERSION}.jar" Example server id_path 0123456789abcdef 9997
java -cp ".:libzt-${VERSION}.jar" Example client id_path 0123456789abcdef ip.ip.ip.ip 9997
```
3). `java -cp ".:libzt-1.3.3.jar" Example id_path 0123456789abcdef 9997`
## Links
See [src/bindings/java](../../src/bindings/java) for wrapper implementation code.
- Getting Started: [docs.zerotier.com/sockets](https://docs.zerotier.com/sockets/tutorial.html)
- Java API: [docs.zerotier.com/sockets-java](https://docs.zerotier.com/sockets-java/)
- Source [src/bindings/java](../../src/bindings/java)