OpenVPN / openvpn3

OpenVPN 3 is a C++ class library that implements the functionality of an OpenVPN client, and is protocol-compatible with the OpenVPN 2.x branch.
https://openvpn.net
Other
977 stars 386 forks source link

Sample usage of the build-linux script under javacli folder? #14

Closed woohooyayaya closed 6 years ago

woohooyayaya commented 7 years ago

Hi there, Can you give an example of how to use the build-linux script under the javacli folder?

Thanks a lot.

lstipakov commented 7 years ago

Hi,

First, make sure you can build on Linux - follow those steps: https://github.com/OpenVPN/openvpn3/#building-the-openvpn-3-client-on-linux

Then you need to install swig and gcj: $ sudo apt-get install swig gcj-5-jdk

After that you can execute build-linux script. Assuming that you have used same directory structure for Linux build as mentioned in README: user@ubuntu:~/ovpn3/core/javacli$ DEP_DIR=/home/user ./build-linux