centos 下安装 jdk JAVA_HOME: comman

2017-09-14  本文已影响0人  左洁

在etc/profile配置好javahome时候,在执行 source /etc/profile 命定时候报出一下错误

-bash: JAVA_HOME: command not found

-bash: JRE_HOME: command not found

-bash: CLASS_PATH: command not found

这个是又由于javahome和等于号空格,去掉就可以

centos下安装 可以参考http://www.linuxidc.com/Linux/2016-09/134941.htm

上一篇 下一篇

猜你喜欢

热点阅读