Linux 配置JAVA_HOME
vi /etc/profile
export JAVA_HOME = /home/myuser/jdk1.7.0_03
export PATH = $JAVA_HOME/bin:$PATH
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
source /etc/profile
其中JAVA_HOME是上一篇博客中有介绍。
转载自:https://www.cnblogs.com/cnmenglang/p/6270375.html