Setting java, java_home path for all users in unix
first check if there
is a path set in /etc/profile
file...
other wise you can
set
Set JAVA_HOME / PATH for all user:
# vi /etc/profile
Next setup PATH / JAVA_PATH variables as follows:
export
PATH=$PATH:/usr/java/jdk1.5.0_07/bin
export
PATH=$PATH:/usr/java/jdk1.5.0_07/bin
Save and close the file. Once again you need to type the following command to activate the path settings immediately:
# source /etc/profile
No comments:
Post a Comment