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 Oracle Driver Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


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

Oracle Driver

shailendra vasale
Ranch Hand

Joined: Dec 17, 2000
Posts: 38
hi All,
When using Class.forName("jdbc.oracle.driver.OracleDriver")
JVM throws ClassNotFoundException ..
Can any one advice how to use driver of type2,type3 and type4.Cause JdbcOdbcDriver is working correctly with oracle's personal edition .From where I'll get the oracle driver n how to use it?
Thansk in advence.
Shailendra.
Srihari Injeti
Ranch Hand

Joined: Jan 05, 2001
Posts: 31
Hi Shailendra,
You need to donwload Oracle JDBC classes from Oracle site and put them in your CLASSPATH.
You need classes111 or classes12.zip depending on which version of Java and Oracle you are running. You can get the correct info in the Oracle tech net site.
Hope that helps.
Srihari


Srihari Injeti<BR>SCJP2 MCP CIW
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Oracle Driver
 
Similar Threads
HeuristicHazard
DatabaseMetaData.getExportedKeys() returns empty ResultSet
JDBC Type $ Driver
JDBC Drivers
Oracle thin driver connectivity