7 ms·
JNI is not always needed to access C libraries from Java, there is Bridj (https://code.google.com/p/bridj/ https://code.google.com/p/bridj/) and similar librari
by tstack 12y ago
JNI is not always needed to access C libraries from Java, there is Bridj (https://code.google.com/p/bridj/ https://code.google.com/p/bridj/) and similar libraries. They allow you to write Java code that access native APIs pretty easily.
The http://sqlitejdbcng.org http://sqlitejdbcng.org project is a SQLite JDBC driver that uses Bridj to access a SQLite shared library. It's probably very similar to what the article author is doing with SQLitePCL.raw.