Hi,
I use recent StarOffice and OpenOffice versions with SuSE 8.x
and 9.0 Linuxes. In the preferences of the office programs,
I added the classpaths
/opt/IBM/db2/V8.1/java/db2cc.jar:/opt/IBM/db2/V8.1/java/db2java.zip
and the driver class name
COM.ibm.db2.jdbc.net.DB2Driver (or COM.ibm.db2.jdbc.app.DB2Driver)
Whatever I do, I keep getting the error message: "The specified
driver could not be loaded!", though I triple checked all pathes
and class names.
From the same user account I'm able to connect to the DB2 database
via shell commands.
All I want is a simple SELECT without the need to update any
data stored in the databases - just reading one record.
For comparison and for the proof that I understand the concept
of how to configure the offices for JDBC connections, I installed
MySQL and put some table and data in it. It works like a charm
without even a warning.
What am I missing? What's wrong with my setup of DB2 JDBC?
TIA for any help or hint,
Frank |