Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

cannot find driver jar file!

843854Jul 8 2003 — edited Jul 9 2003
I am working on an application that connects to Oracle database. Java 1.4.1, Oracle 8.1. The code is:

import oracle.jdbc.driver.*;

Class.forName("oracle.jdbc.driver.OracleDriver");
con = DriverManager.getConnection(dbURL, "HC", "HC");

I got this error when I compile
package oracle.jdbc.driver does not exist

What did I do or didn't do that caused the error? I looked up for a solution in forums with similar problems. some talked about setting the path to jre/lib/text which is already set. Some talked about a jar file but I don't know its name.


Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 6 2003
Added on Jul 8 2003
6 comments
385 views