原因是因为 /etc/profile中的配置和 /.bash_profile 中的JAVA_HOME的不一样。在加载时,那么系统则会优先选择bashrc的内容。(~/.bash_profile的优先级高于/etc/profile)
原因是因为 /etc/profile中的配置和 /.bash_profile 中的JAVA_HOME的不一样。在加载时,那么系统则会优先选择bashrc的内容。(~/.bash_profile的优先级高于/etc/profile)
本文标题:Linux 开发环境安装总结4-(JAVA_HOME不断失效)
本文链接:https://www.haomeiwen.com/subject/tjgonxtx.html
网友评论