Hi Matt, Thanks a lot. It works now! I did use the "com.ibm.db2.jcc.DB2Driver" driver after adding db2jcc.jar in the classpath. It was again giving an error that classpath does not include the licence file "db2jcc_license_*.jar". So i added all remaining jars from the folder containing db2jcc.jar and bingo it works!! Thanks, hsbgowd