Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes JDBC and Relational Databases and the fly likes  classpath,JAVA_HOME, ORACLE_HOME Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark " classpath,JAVA_HOME, ORACLE_HOME" Watch " classpath,JAVA_HOME, ORACLE_HOME" New topic


dbk kumar

Joined: Feb 01, 2010
Posts: 14
what to set for classpath,JAVA_HOME, ORACLE_HOME?? ( jdk1.6,oracle 10g database)
thanks in advance
Jan Cumps

Joined: Dec 20, 2006
Posts: 2562

Hi Kumar,

You should include the location and name of your Oracle JDBC driver jar to the classpath.

Typically JAVA_HOME requires no changes. Come back if you think you have issues with it.

ORACLE_HOME is set by your Oracle software installer. If you use Oracle's thin driver, this variable is not required.

Regards, Jan

OCUP UML fundamental and ITIL foundation
I agree. Here's the link:
subject: classpath,JAVA_HOME, ORACLE_HOME
It's not a secret anymore!