Yes, nowadays with Panama, and before Rust was around, JNA was already there so using JNI wasn't strictly necessary.
Re:C Isn't a Language
by direwolf20 on Friday February 06, 2026 @07:29AM
(#46911993)
JNA is a whole dependency of its own, shame it's not built into the JRE
There was no Rust at that point, and I used the most basic tool that could do it.
Could I have done this in Java with gymnastics of JNI, linking C into the JRE?
Definite maybe.