Keep all tips and tricks learned in one place.
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
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