I inserted the following in '/etc/profile'
JAVA_HOME=/usr/java/jdk1.6.0_21 export PATH=$PATH:$JAVA_HOME/bin
But when I 'sudo su' from my regular account, it does not pick up the above java path: any suggestions?
migrated from stackoverflow.com Sep 26 '10 at 12:34
This question came from our site for professional and enthusiast programmers.
When you do