https://github.com/praj-foss/jnr-demo
https://github.com/praj-foss/jnr-demo
java jnr jnr-ffi native
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/praj-foss/jnr-demo
- Owner: praj-foss
- License: unlicense
- Created: 2021-11-01T15:33:51.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-23T06:19:54.000Z (over 3 years ago)
- Last Synced: 2025-01-17T08:35:51.002Z (4 months ago)
- Topics: java, jnr, jnr-ffi, native
- Language: Java
- Homepage: https://www.praj.in/posts/2021/exploring-jnr-part-1
- Size: 68.4 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
jnr-demo 🎒
===
Examples of connecting Java to native libraries using [JNR FFI](https://github.com/jnr/jnr-ffi).
It contains only a basic example for now, but more will be added soon.### Building
You will need **JDK 11** or higher to build the projects. Execute the Gradle task
`run` for any project to build and run it. The project name will be same as
the directory containing it. For example, execute the following to build and run `basics`:```
./gradlew basics:run
```### Blog posts
- [Exploring JNR (Part 1) - A faster way to connect Java to native libraries](https://www.praj.in/posts/2021/exploring-jnr-part-1)
- _Coming soon ..._**Leave a ⭐ if it helped!**