This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem connecting to DB2 using Squirrel Database Client

 
Ashish Agrawal
Ranch Hand
Posts: 112
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The DB2 JDBC driver is looking for a native file db2jdbc.dll and it can't find it. It should be on your PATH.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic