aspose file tools*
The moose likes JDBC and the fly likes java.lang.UnsatisfiedLinkError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "java.lang.UnsatisfiedLinkError" Watch "java.lang.UnsatisfiedLinkError" New topic
Author

java.lang.UnsatisfiedLinkError

sindhu sheela
Greenhorn

Joined: May 20, 2008
Posts: 26
Hi All,

I have set up a project in eclipse - Im getting the below stacktrace
java.lang.UnsatisfiedLinkError: com.ibm.db2.jdbc.app.T.initTrace(ILjava/lang/String;I)I
com.ibm.db2.jdbc.app.T.initTrace(Native Method)
com.ibm.db2.jdbc.app.T.initTrace(T.java:130)
com.ibm.db2.jdbc.app.DB2Driver.<clinit>(DB2Driver.java:182)
java.lang.Class.forName0(Native Method)
java.lang.Class.forName(Unknown Source)
com.ibm.db.base.JDBCConnectionManager.registerDriver(JDBCConnectionManager.java)
com.ibm.db.base.JDBCConnectionManager.getJDBCConnectionManager(JDBCConnectionManager.java)
com.ibm.db.base.DatabaseConnectionSpec.connect(DatabaseConnectionSpec.java)
com.ibm.db.DatabaseConnection.connect(DatabaseConnection.java)
com.ibm.db.Statement.connect(Statement.java)
com.ibm.db.SQLStatement.execute(SQLStatement.java)

I have included the jar file in the eclipse Java Build path , it is also present in the tomcat lib folder.
What is the cause for this exception do i have to include some dll files ??I have this 'com.ibm.db2.jdbc.app.T , DB2Driver.java' class in the jar file.

Thanks in Advance
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: java.lang.UnsatisfiedLinkError