export JAVA_HOME=/usr/java/jdk1.6.0_14
export CLASSPATH=.:$JAVA_HOME/jre/lib/rt.jar:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export PATH=$PATH:$JAVA_HOME/bin
tail -3 /etc/profile
JAVA_HOME=/usr/java/jdk1.6.0_14
CLASSPATH=.:$JAVA_HOME/jre/lib/rt.jar:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
PATH=$PATH:$JAVA_HOME/bin
grep -r tomcat /etc/profile
pathmunge /usr/local/tomcat/bin