JNR (Java Native Runtime) is a Java library for calling native code. It is used for binding native libraries and native memory.
About
JNR (Java Native Runtime) is a Java library for calling native code. It is used for binding native libraries and native memory. It is supported by a rich Runtime library.
The justifications for using JNR are:
- Native IO, symlinks, FS-walking,
- Unmanaged memory
- Selectable stdio, process IO
- Low-level or other sockets (UNIX, ICMP, ...)
- New APIs (graphics, crypto, OS, ...)