Use the New Database Connection wizard or pages that are embedded in other wizards to create a JDBC connection to DB2 Universal Database™ for iSeries™.
You can download the DB2 JDBC drivers at www.ibm.com/software/data/db2/.The DB2 Universal Driver is included with the DB2 Application Development Client. This driver is a two tier pure Java JDBC driver that allows a Java client to communicate directly with DB2 UDB servers through the DRDA® protocol. This driver supports both Type 2 connections (to databases that are cataloged on your local computer) and Type 4 connections (using a host, database name, and port). This driver is designed to replace the Type 3 Net driver.
Type the class location containing the JDBC driver.
If you are using the driver that is included in the Application Development client, the class file is located in ..SQLLIB\tools\jt400.jar
If you are using the driver that is included with WebSphere Development Studio for iSeries or Rational Application Developer for iSeries, the JAR file is also jt400.jar. The path to this file varies depending on which tool you installed.