• Post Reply Bookmark Topic Watch Topic
  • New Topic

Environment Variable  RSS feed

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

How to set the classpath which points to the bin directory of jre. what is the command used to do that.

Thnx
Rajesh.
 
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why would a classpath point to a bin directory ?
Please tell us exactly what you are trying to do.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you wanty to compile Java pgms from any directory. put till "bin" in Environment PATH variable(not in class path)
 
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Refer below link to know about Classpath setting:
http://faq.javaranch.com/view?HowToSetTheClasspath

Difference between Classpath and Path can be viewed in below post:

http://www.coderanch.com/t/407122/java/java/CLASSPATH-vs-PATH
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!