If you just want to have PATH variable available on a simple SSH login add the following like to your .profile:
If you want to have PATH variable to be available after “su” login change ENV_SUPATH & ENV_PATH
in file: /etc/login.defs
add this line:
to all your users .bashrc files
You can always make symbolic links to /usr/local/bin.
Go to: /usr/local/bin
Execute: ln -s /usr/local/lib/jdk1.6.0_24/bin/* .
(don’t forget the dot at the end)