标签:
配置环境变量命令:
$sudo gedit ~/.bashrc
添加以下代码:
export JAVA_HOME=/usr/lib/jvm/jdk1.7.0_55
export JRE_HOME=${JAVA_HOME}/jre
export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib
export PATH=${JAVA_HOME}/bin:$PATH
标签:
原文地址:http://www.cnblogs.com/canwyq/p/4671396.html