I'm trying to connect on a DB2 database using Java 1.4 with "COM.ibm.db2.jdbc.app.DB2Driver".
The db2java.zip is correctly set on the CLASSPATH.
When I try to connect using my Java Classfile, this error occurs:
java.sql.SQLException: No suitable driver
I've tried to put the db2java.zip into the /usr/java14_64/jre/lib/ext/db2java.zip and /usr/java14_64/lib/db2java.zip, with no success.
I've also tried to execute my Java Classfile using the parameter -cp pointing to the db2java.zip path.
When I try to connect using the "db2 connect to db user user using password", everything works fine.
The S.O. is an AIX 5.3 with DB2 8.2.7.
-r--r--r-- 1 bin bin 1246637 Nov 11 2006 /usr/opt/db2_08_01/java/db2java.zip
What else can I do?