blob: e19075b14b5bd35b6c42d598aa238442ec38b033 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Java wrapper
## Requirements
You will need to install JDK 8 or later ([Adoptium](https://adoptium.net/)
or [Oracle](https://www.oracle.com/java/technologies/downloads/)). To easily compile the project, you should
download [Maven](https://maven.apache.org/).
## Build & test
First build the shared Go library. Next:
Build `EduVpnCommon`:
```shell
make
```
Build as JAR, including shared Go library:
```shell
make pack
```
The JAR will include all versions of the library that are built in the `exports` folder.
If you do not build this as part of the full repository, specify `EXPORTS_PATH="path/to/exports-folder"`
when calling make. This folder must contain `common.mk` and the `lib/` folder with built libraries.
Test:
```shell
make test
```
|