aspose file tools
The moose likes JDBC and Relational Databases and the fly likes Failure to Locate Database Driver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Failure to Locate Database Driver" Watch "Failure to Locate Database Driver" New topic

Failure to Locate Database Driver

Michael Scott
Ranch Hand

Joined: Jan 20, 2003
Posts: 57
I have a Java program that fails when trying to connect to a DB2 database. The error message is as follows:
I imported the package '' into my IDE (VisualAge) along with all other DB2 packages. (These packages are in the file in the 'Program Files\SQLLIB\Java' directory on my pc.)
In VisualAge, I've verified that the Properties of the class that should access DB2 is set to reference the DB2 packages.

I'd appreciate any ideas on why this error occurred. Thanks very much.
It is sorta covered in the JavaRanch Style Guide.
subject: Failure to Locate Database Driver