the config file in linux is /etc/profile. if you have no right to edit it, you can use command "sudo" like
sudo vi profile
add the following parameters in profile file:
JAVA_HOME=/opt/java-1.5.0_05
export JAVA_HOME
the config file in linux is /etc/profile. if you have no right to edit it, you can use command "sudo" like
sudo vi profile
add the following parameters in profile file:
JAVA_HOME=/opt/java-1.5.0_05
export JAVA_HOME