The value of PATH variable is formatted as a series of colon-separated absolute paths.
Each user has a user-specific PATH environment variable (initialized with system-wide default PATH variable).
Your path tells the Unix shell where to look on the system when you request a particular program.
Having more directories in your path will reduce the number of times you get "Command not found" errors, but might put you at greater risk of activating a Trojan horse.
The updated PATH will then remain effective in the current login session.
The change, however, will be lost in any new terminal session.
Bash was designed as a free replacement for the Bourne shell, one of the earliest shells for the Unix operating system.Attempt to edit your path only if you have advanced skill; if you're unsure of how to safely do it, consult your system administrator.If you are a student, faculty member, or staff member at Indiana University, you may also want to contact your class instructor or your department's computing support provider.Debian's Synaptic or Mandriva's Drakrpm), these types of programs are generally just graphical front-ends to the low-level utilities that manage the tasks associated with installing packages on a Linux system.And even though many desktop Linux users feel much more comfortable installing packages through these intuitive graphical tools, there is no denying that command-line package management offers two excellent features not available in any graphical package management utility: power and speed.But If you are having your java file outside the jdk/bin folder, it is necessary to set path of JDK.