Dear Friends, I'm i need of ur help in setting the path and classpath. 1)What is Path?what all should be in my path for to run my java program 2)what is classpath? 3)On windows2000 how do i've set it?I've j2sdk1.4.1_01 and my programs are in directory "F:\JavaPractice" itried to set the classpath what was not successful.bcoz while compiling i got error saying "Class not found","some thing like internal/externa...",These i got on my attempt of trial and error Plz help me thanx in adavnce
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.