This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
zhangyang-libzt/examples/java/README.md

16 lines
527 B
Markdown
Raw Normal View History

2021-02-23 21:30:44 -08:00
# Java example
2020-09-20 22:06:38 +02:00
2021-05-25 15:24:28 -07:00
Build or download the `libzt-${VERSION}.jar`, and copy it to this directory.
2020-09-20 22:06:38 +02:00
2021-05-25 15:24:28 -07:00
```
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
```
2020-09-20 22:06:38 +02:00
2021-05-25 15:24:28 -07:00
## Links
2020-09-20 22:06:38 +02:00
2021-05-25 15:24:28 -07:00
- 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)