1)What is Path? what all should be in my path for to run my java program The PATH is an operating system environment variable that specifies the location(s) to use when searching for a specified executable file. So, if you type
javac or
java from a command line, the operating system will use the location(s) specified in the PATH setting to find the proper programs to run.
To compile a Java program, you'll want the location of javac.exe in your PATH. To run a Java program, you'll want the location of java.exe in your PATH. If you've downloaded and installed
the J2SE SDK, then both of these programs are already on your system inside of the
bin folder in the J2SE SDK installation.
2)what is classpath? The CLASSPATH is an environment variable that specifies the location(s) of Java class files to be used by the Java compiler and the Java Runtime Environment.
3)On windows2000 how do i've set it? Take a look at our wiki page on
HowToSetTheClasspath.