echo $JAVA_HOME 显示为空
Linux 配置JAVA_HOMEvi /etc/profileexport JAVA_HOME = /home/myuser/jdk1.7.0_03export PATH = $JAVA_HOME/bin:$PATHexport CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar source /etc/profile
·
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
更多推荐
已为社区贡献1条内容
所有评论(0)