Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2009

    Unanswered: db2 connection issue with java1.6

    I have a java client that runs on Unix, and makes connection to db2. The program works fine in java1.5, but it failed to get a connection in java1.6.

    Here is the error message.

    java.sql.SQLException: java.lang.UnsatisfiedLinkError: db2jdbc (A file or directory in the path name does not exist.)
    at<init>(Unknown Source)

    Thank you

  2. #2
    Join Date
    Apr 2006
    Provided Answers: 11
    check classpath to point to driver file
    Best Regards, Guy Przytula
    Database Software Consultant
    Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
    Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
    DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5-V11 Fundamentals- DB Admin - Advanced DBA -Dprop..
    Information Server Datastage Certified

  3. #3
    Join Date
    Jun 2009

    db2 universal driver

    The cause of the issue is the db2 native client libraries are not available to the JVM.

    The solution is to use db2 universal driver which does not need native client libraries.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts