Jopaz 1.2.0 | Getting Started with Jopaz | Configuring Jopaz | Configuring the Java Virtual Machine (jvm_default_conf.sh) | Db2 JDBC Location
 
Db2 JDBC Location
Jopaz can execute Db2 SQL statements using JDBC (Java Database Connectivity). The Jopaz installation uses the following IBM standard paths for the archives and resources required by JDBC:
DB2=/usr/lpp/db2c10/jdbc/classes/db2jcc_javax.jar
DB2="${DB2}":/usr/lpp/db2c10/jdbc/classes/db2jcc_license_cisuz.jar
DB2="${DB2}":/usr/lpp/db2c10/base/lib/clp.jar
DB2="${DB2}":/usr/lpp/db2c10/jdbc/classes/db2jcc4.jar
DB2="${DB2}":/usr/lpp/db2c10/jdbc/classes/sqlj4.zip
If you have a different installation directory for Db2 and JDBC, you have to adjust these paths in the jvm_default_conf.sh file. Otherwise, a correct connection to the Db2 database from the Jopaz compiled application cannot be guaranteed.
The definitions of the JDBC class paths are set in the get_default_db2_conf function of jvm_default_conf.sh.