aspose file tools*
The moose likes JDBC and the fly likes Driver to connect to Oracle 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 "Driver to connect to Oracle" Watch "Driver to connect to Oracle" New topic
Author

Driver to connect to Oracle

Sumi Festus
Greenhorn

Joined: Feb 04, 2005
Posts: 14
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

Joined: Apr 06, 2006
Posts: 9
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..


Keep Faith
Sandy Saahil
Greenhorn

Joined: Apr 06, 2006
Posts: 9
hi sumi..use this link to download driver

http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html
Shailesh Chandra
Ranch Hand

Joined: Aug 13, 2004
Posts: 1081

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


Gravitation cannot be held responsible for people falling in love ~ Albert Einstein
 
wood burning stoves
 
subject: Driver to connect to Oracle