linux配置java环境

第一步:

vim /etc/profile

第二步:添加以下4行

 

第三步:使配置生效

source /etc/profile

结束配置

原文地址:https://www.cnblogs.com/shijiaoyun/p/5790231.html