This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CLASSPATH & PATH

 
Arun Maalik
Ranch Hand
Posts: 216
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey rancher please specify me the diffrence between PATH and CLASSPATH variable

actualuy i am setting classpath=c:\jdk1.3\bin so that i can run javac from any where but it is not working. why?

with regard
Arun kumar maalik
 
Keith Lynn
Ranch Hand
Posts: 2409
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The bin directory of your JDK should be in your PATH, not CLASSPATH.

PATH is a list of directories the operating system searches to look for executable files.

CLASSPATH is a list of directories that the compiler and interpreter use to locate .class files.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic