This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Problem connecting to DB2 using Squirrel Database Client
 
Similar Threads
AbstractMethodError on websphere 5.0.2.3
how con i know the type of the driver i'm using
SQL Exception No suitable driver
WebSphere connection pool to DB2
jdbc driver error v9.1.3