Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

classpath,JAVA_HOME, ORACLE_HOME

 
dbk kumar
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what to set for classpath,JAVA_HOME, ORACLE_HOME?? ( jdk1.6,oracle 10g database)
thanks in advance
 
Jan Cumps
Bartender
Posts: 2618
14
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!