Wednesday, February 16, 2011

Set JAVA_HOME Ubuntu

in '/etc/bash.bashrc' 
set
JAVA_HOME=/usr/lib/jvm/java 
export JAVA_HOME 
PATH=$PATH:$JAVA_HOME/bin 
export PATH 
- save the fie
source /etc/bash.bashrc 
echo $JAVA_HOME -> echo $JAVA_HOME

No comments:

Post a Comment