aspose file tools*
The moose likes Beginning Java and the fly likes JNI does not match API error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "JNI does not match API error" Watch "JNI does not match API error" New topic

JNI does not match API error

John Lark
Ranch Hand

Joined: Feb 08, 2010
Posts: 72
I am getting this error when I use my JDBC Connection Class:

JNI version 1.4.4 does not match API version 1.4.5

what the heck does that mean?
Rob Spoor

Joined: Oct 27, 2005
Posts: 19672

It would help if you told us which JDBC driver you're using. Does it exist out of multiple JAR files? If so, do these files all have the same version? Because it looks like the native library (DLL, .so) has an older version than the Java code.

How To Ask Questions How To Answer Questions
wood burning stoves
subject: JNI does not match API error