File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes loading Oracle drivers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "loading Oracle drivers" Watch "loading Oracle drivers" New topic

loading Oracle drivers

Tony Evans
Ranch Hand

Joined: Jun 29, 2002
Posts: 595
I have using j2sdk_1_4_2 I have Oracle9i on my PC, it contains two JDBCdrivers class111.jar and Class12.jar.
I have tried adding first class111.jar and then class12.jar to my classpath.
But I get the following error
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
Do I need to download another later version of classes jar that contains a driver that can interface with j2sdk_1_4_2.
Thanks for any help.
Joe Ess

Joined: Oct 29, 2001
Posts: 9189

I believe the filename for the oracle drivers is

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: loading Oracle drivers
It's not a secret anymore!