wood burning stoves
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


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "loading Oracle drivers" Watch "loading Oracle drivers" New topic
Author

loading Oracle drivers

Tony Evans
Ranch Hand

Joined: Jun 29, 2002
Posts: 588
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.
CLASSPATH=C:\oracle\ora90\jdbc\lib\classes12.jar
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.
Tony
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 9150
    
    9

I believe the filename for the oracle drivers is classes12.zip.


[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: loading Oracle drivers
 
It's not a secret anymore!