I am trying to access DB2 database with a java application. I get the following error :

java.lang.UnsatisfiedLinkError: SQLAllocStmt
at COM.ibm.db2.jdbc.app.DB2Statement.SQLAllocStmt(Nat ive Method)
at COM.ibm.db2.jdbc.app.DB2Statement.<init>(DB2Statem ent.java:328)
at COM.ibm.db2.jdbc.app.DB2Statement.<init>(DB2Statem ent.java:344)
at COM.ibm.db2.jdbc.app.DB2Connection.createStatement (DB2Connection.java:501)

This happens when i create a statement using jdbc Statement.

Can any one help me in solving this?

Thanks,
Nanda