user9337129 wrote:To use JNI.
I am looking for some guidance with regards to JNI on MAC.
Basically I have a scanner driver library (libopn_driver.dylib) and I have a .h file for this library written in C.
If I want to use it with Java, would I need to write my own .h file that Java can understand?
How should I go around this?
Any ideas would be appreciated.Don't use JNI - including via JNA.