File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Elasticsearch in Action this week in the Big Data 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: 19914

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
I agree. Here's the link:
subject: JNI does not match API error