File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Driver to connect to Oracle

 
Sumi Festus
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!!

I need to connect to the Oracle 9i Database and i have been using the oracle thin driver. I have written the following statement, <code>DriverManager.registerDriver(new oracle.jdbc.OracleDriver())</code>

The problem now is that i dont have the jdbc folder and the classes12.jar file in my system and so i cannot use the oracle.jdbc package. Now is there any other method of connecting to the database.

Thanks a lot

Sumi
 
Sandy Saahil
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry Sumi i dont think there's any other way for that...what you can do is download classes12.jar from internet....put that in classpath and use that...i hope it will do what you need to do..
 
Sandy Saahil
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi sumi..use this link to download driver

http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html
 
Shailesh Chandra
Ranch Hand
Posts: 1082
Java Oracle Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are trying to connect with oracle, you must have it installed on some machine. Look into oracle_installation_path/jdbc/lib folder.

You will find same jar file there


Shailesh
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic