File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes DB2 Connection Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "DB2 Connection Problem" Watch "DB2 Connection Problem" New topic

DB2 Connection Problem

Sri Prof

Joined: May 04, 2004
Posts: 4
Iam new to DB2 and trying to connect using Java Class and I am getting the following error. Can anybody tell me what may be the reason.
Thanks in advance.
java.sql.SQLException: java.lang.UnsatisfiedLinkError: no db2jdbc in java.librar
at<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
at java.lang.reflect.Constructor.newInstance(
at java.lang.Class.newInstance0(
at java.lang.Class.newInstance(
at com.jnl.db.DBUtil.getConnection(
at com.jnl.db.DBUtil.getConnection_Jnl(
at com.jnl.db.DBQuery.insert_Jnl(
at com.jnl.util.Util.insertErrorMsg(

Thanks & Regards
I agree. Here's the link:
subject: DB2 Connection Problem
It's not a secret anymore!