Set the following variables in .bash_profile file in root folder of your linux account:
JAVA_HOME=/usr/local/java
JDK_HOME=$JAVA_HOME
ANT_HOME=/usr/local/ant
PATH=$JAVA_HOME/bin:$ANT_HOME/bin:$PATH
Please make sure that you log off and log in back to see changes.
Thanks.
No comments:
Post a Comment