Two Laptop Bag*
The moose likes JDBC 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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "loading Oracle drivers" Watch "loading Oracle drivers" New topic
Author

loading Oracle drivers

Tony Evans
Ranch Hand

Joined: Jun 29, 2002
Posts: 556
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: 8718
    
    6

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


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: loading Oracle drivers
 
Similar Threads
Tomcat and jdbc problem
DataSource error
Network Adapter Problem
JDBC connection using eclipse ide
New to JDBC, Please Help