Kohsuke Kawaguchi has released NLink, a JNI alternative for invoking native methods from Java.
Unlike JNI, NLink is driven by annotations. You do not need to write a separate
Java method corresponding to each native method you want to call. NLink is published under the MIT License.