Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem connecting to DB2 using Squirrel Database Client

 
Ashish Agrawal
Ranch Hand
Posts: 112
  • 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
  • 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