Two Laptop Bag*
The moose likes JDBC and the fly likes Oracle Driver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
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
 
Don't get me started about those stupid light bulbs.
 
subject: Oracle Driver
 
Similar Threads
Oracle thin driver connectivity
JDBC Drivers
HeuristicHazard
JDBC Type $ Driver
DatabaseMetaData.getExportedKeys() returns empty ResultSet