File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Jave dependency on verion of oracle. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Jave dependency on verion of oracle." Watch "Jave dependency on verion of oracle." New topic

Jave dependency on verion of oracle.

Prabhakar Digumarthi

Joined: Aug 29, 2008
Posts: 3
HI Iam new to JAVA.HI I am working in Unix environment.One of my shell script is calling a javaprogram.This Java program is inturn connecting to oracle database using configuration file which is in Xml format.The configuration contains db userid,password,and the driver name.

Now in our unix server we have installled oracle 10g.WIll java depend on oracle version installed if so how to make the javadriver to point to 10g folder rather than 8i folder of oracle installed in the unix server.

It would we agreat help if some one explains about how a javaprogram will connect to databases in detail
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46349
Don't know how you tell Java to connect to a particular version, but I suggest you go through the Java Tutorials as well as the documentation for Oracle, which should tell you what to do.

And welcome to JavaRanch
[ August 30, 2008: Message edited by: Campbell Ritchie ]
Avi Abrami
Ranch Hand

Joined: Oct 11, 2000
Posts: 1141

The important part is the JDBC driver you use.
It must be compatible with both the java version you are using and the Oracle database version you are using.
Please refer to this Web page for more details:

Good Luck,
I agree. Here's the link:
subject: Jave dependency on verion of oracle.
It's not a secret anymore!