JNR-FFI is a Java library for loading native libraries without writing JNI code by hand, or using tools such as SWIG.