The PATH environment variable is used to locate the debugger executable and the executable programs to be debugged, as well as any other executables being run on the workstation.
For standalone debugging, the location of
the Java executable specified in the PATH environment variable
must be from the JDK "bin" directory. For example, if, on Windows NT, the PATH environment
variable points to the java.exe in the \WINNT\SYSTEM32 directory, the debugger cannot debug the
application. To avoid this problem, insert the full path to java.exe in the JDK bin directory to the start of
the PATH environment variable.
the PATH environment
variable is also used to locate DLLs.
For OS/2, PATH and LIBPATH
provide equivalent functionality.