README 602 B

1234567891011121314151617181920212223
  1. Description:
  2. This directory contains a JNI interface layer for libopenconnect, and a
  3. demo program to show how it can be used.
  4. Build instructions:
  5. From the top level, run:
  6. ./configure --with-java
  7. make
  8. cd java
  9. ant
  10. sudo java -Djava.library.path=../.libs -jar dist/example.jar <server_name> [protocol]
  11. If ocproxy[1] is installed somewhere in your $PATH, this can be run as a
  12. non-root user and it should be pingable from across the VPN.
  13. Test/demo code is in src/com/example/
  14. OpenConnect wrapper library is in src/org/infradead/libopenconnect/
  15. [1] https://repo.or.cz/w/ocproxy.git