1.linux下vi命令
https://jingyan.baidu.com/article/495ba8410ff14d38b30ede01.html
2.切换到root权限
https://jingyan.baidu.com/article/597a064322da37312a524341.html
3.jdk环境配置
https://jingyan.baidu.com/article/1612d500a71b8fe20e1eee26.html
4.刷新资源
source .profile
5.退出系统,重新登录(最重要的一步,如果这一步执行完仍然没有生效,再考虑配置出错问题)