Posts

Showing posts with the label difference between PATH and CLASSPATH

What is PATH and CLASS-PATH all about in JaVa ?

Image
What is PATH and CLASS-PATH   Many problems in the installation and running of Java applications are caused by incorrect setting of environment variables (global system variables available to all the processes running under the system), in particular, PATH, CLASS-PATH. PATH Variable : PATH is basically an environment variable on Unix-like operating systems, DOS, OS/2, and Microsoft Windows, specifying a set of directories where executable programs are located. In general, each executing process or user session has its own PATH setting. When you launch a program from the command line, the operating system uses the PATH environment variable to search for the program in your local file system. PATH maintains a list of directories for searching executable programs. If the program cannot be found in these directories, you will get an error. For example, if Java Compiler "javac.exe" is not found in the current directory and all the directories in the...