wood burning stoves 2.0*
The moose likes JDBC 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark " classpath,JAVA_HOME, ORACLE_HOME" Watch " classpath,JAVA_HOME, ORACLE_HOME" New topic
Author

classpath,JAVA_HOME, ORACLE_HOME

dbk kumar
Greenhorn

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
Bartender

Joined: Dec 20, 2006
Posts: 2491
    
    8

Hi Kumar,

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

http://java.sun.com/docs/books/tutorial/essential/environment/paths.html

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
youtube channel
 
Consider Paul's rocket mass heater.
 
subject: classpath,JAVA_HOME, ORACLE_HOME
 
Similar Threads
WebLogic6.1/Oracle8.1.6 config problem (obvious to someone?)
connecting weblogic 6.1 and oracle thru thin driver
Calling a Java Program through CRONTAB
Error Using JDrivers to Connect to Oracle
no weblogicoci37 in java.library.path