This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Oracle and JDBC

 
Anonymous
Ranch Hand
Posts: 18944
  • 0
  • send pies
  • Quote
  • Report post to moderator
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...
Thanks
 
Kevin Mukhar
Ranch Hand
Posts: 83
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This sounds like a classpath problem. The OracleDriver class is located in the classes12.zip file (or classes111.zip 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\classes12.zip.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic