c-kzg-4844/bindings/java/README.md

19 lines
411 B
Markdown
Raw Normal View History

# Build Shared Library
2022-11-23 18:37:46 +00:00
## Prerequisites
2022-11-24 18:05:12 +00:00
* Follow the instructions in the [README.md](../../README.md) to install blst and build the C-KZG code.
* `JAVA_HOME` environment variable is set to a JDK with an `include` folder containing a jni.h file.
2022-11-23 18:37:46 +00:00
2022-11-24 17:16:15 +00:00
## Build
```bash
2022-11-24 17:16:15 +00:00
make c_kzg_4844_jni
```
2022-11-24 18:05:12 +00:00
This will install the library in the `src/main/resources/lib` folder according to your OS
2022-11-24 17:16:15 +00:00
## Test
```bash
2022-11-24 17:16:15 +00:00
make test
```