I need to connect DB2 with Java. Kindly help me to connect DB2 with java in ECLIPSE. It would be of great help if you could guide me step by s
You need to correct the package name.
Class.forName("com.ibm.db2.jdbc.app.DB2Driver");
To add .jar in your project => Project + Properties + Java Build Path + Select "Libraries" tab + Add External Jars...