2022-09-25 03:55
1、要想马上生效,输入 source /etc/profile 运行profile配置。 2、检查环境。 3、输入 echo $JAVA_HOME得到配置的路径,说明配置完毕。