This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "JNI does not match API error" Watch "JNI does not match API error" New topic
Author

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
Sheriff

Joined: Oct 27, 2005
Posts: 20077
    
  30

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.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: JNI does not match API error
 
It's not a secret anymore!