aspose file tools*
The moose likes JDBC and the fly likes Problem connecting to DB2 using Squirrel Database Client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Problem connecting to DB2 using Squirrel Database Client" Watch "Problem connecting to DB2 using Squirrel Database Client" New topic
Author

Problem connecting to DB2 using Squirrel Database Client

Ashish Agrawal
Ranch Hand

Joined: Nov 02, 2003
Posts: 112
Hello Everybody,
I am getting the following error while loading DB2 driver in SQuirrel.

java.lang.UnsatisfiedLinkError: no db2jdbc in java.library.path

For Classname = COM.ibm.db2.jdbc.app.DB2Driver


Squirrel is loading Db2 net driver successfully for class COM.ibm.db2.jdbc.net.DB2Driver

Please help me connecting using the above class. Thank you.

~ Ashish Agrawal.
Paul Frey
Greenhorn

Joined: Apr 25, 2002
Posts: 19
The DB2 JDBC driver is looking for a native file db2jdbc.dll and it can't find it. It should be on your PATH.


Paul G. Frey, Jr.
 
 
subject: Problem connecting to DB2 using Squirrel Database Client