This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes JDBC and the fly likes loading Oracle drivers Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "loading Oracle drivers" Watch "loading Oracle drivers" New topic
Author

loading Oracle drivers

Tony Evans
Ranch Hand

Joined: Jun 29, 2002
Posts: 521
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: 8290

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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: loading Oracle drivers
 
Similar Threads
JDBC connection using eclipse ide
New to JDBC, Please Help
Tomcat and jdbc problem
Network Adapter Problem
DataSource error