配置JDK 环境 vi .bash_profile(非root用户使用) vi /etc/profile 配置JDK 环境 vi .bash_profile(非root用户使用) vi /etc/profile