https://github.com/byteit101/java-ffi-example
GraalVM native image and standard OpenJDK compatible FFI demo
https://github.com/byteit101/java-ffi-example
Last synced: about 1 month ago
JSON representation
GraalVM native image and standard OpenJDK compatible FFI demo
- Host: GitHub
- URL: https://github.com/byteit101/java-ffi-example
- Owner: byteit101
- Created: 2020-02-29T21:08:49.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-29T21:09:10.000Z (over 6 years ago)
- Last Synced: 2025-03-20T17:36:57.363Z (over 1 year ago)
- Language: Java
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
Awesome Lists containing this project
README
An example project showing how to perform FFI in both a GraalVM Native Image and a normal JDK with JNR.
The maven configuration adds either src/main/jdk or src/main/graalvm to the path depending on if we are using GraalVM or not.
mvn package
Or to make a normal jar under GraalVM:
mvn package -P-graalvm,normal