This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JDBC and the fly likes Oracle and JDBC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Oracle and JDBC" Watch "Oracle and JDBC" New topic

Oracle and JDBC

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I am trying to connect to oraccle by using thin driver and Oci.. I am getting an error oracle.jdbc.oracledriver not found... I have installed oracle 8.1.5 and included E:\oracle\ora81\jdbc\lib to my path. I don't know why it is giving that error... Can anybody telll me what the problem is...
Kevin Mukhar
Ranch Hand

Joined: Nov 28, 2000
Posts: 83
This sounds like a classpath problem. The OracleDriver class is located in the file (or if you are still using JDBC 1.0 and JDK1.1). The filename of the zip file must be part of the classpath. It's not enough to put E:\oracle\ora81\jdbc\lib into the classpath, you have to include the .zip filename as well: E:\oracle\ora81\jdbc\lib\
I agree. Here's the link:
subject: Oracle and JDBC