This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes CLASSPATH & PATH 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 » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "CLASSPATH & PATH" Watch "CLASSPATH & PATH" New topic
Author

CLASSPATH & PATH

Arun Maalik
Ranch Hand

Joined: Oct 25, 2005
Posts: 216
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

Joined: Feb 07, 2005
Posts: 2367
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: CLASSPATH & PATH
 
Similar Threads
How can I use abstract class methods
import in Windows environment
path and class path
JQPlus - after sales service - I don't think so.......
env varibables problem