Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 482 Bytes

jna.md

File metadata and controls

14 lines (10 loc) · 482 Bytes

Generate Java sources

jnaerator was used to manually generate JNA Java sources from C headers.

git clone http://github.com/nativelibs4java/JNAerator.git
cd JNAerator
JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64 \
    /usr/bin/mvn -DskipTests clean package

/usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java \
    -jar jnaerator/target/jnaerator-0.13-SNAPSHOT-shaded.jar