标签:io java sp on bs as nbsp c user
vi /home/username/.bashrc
export JAVA_HOME=javaPath
export PATH=$PATH:$JAVA_HOME/bin/
然后重新执行 source /home/username/.bashrc
查看是否配置成功 java -version
标签:io java sp on bs as nbsp c user
原文地址:http://www.cnblogs.com/javasoft/p/4067813.html