Need help with error: The specified driver could not be loaded!
Question posted by: Frank Stefani
(Guest)
on
November 12th, 2005 06:26 AM
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
0
Answers Posted
|
|
|
What is Bytes?
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over 196,842 network members.
Top Community Contributors
|