java环境由1.8自动切换到1.7版本
场景:我在/etc/profile已经配置并加载了JDK1.8,但是过一会再次查看还是会变成1.7cat /etc/profile[root@ecs-7942-0812397 jshx]# java -versionjava version "1.7.0_141"OpenJDK Runtime Environment (rhel-2.6.10.1.el6_9-x86_64 u141-b02)OpenJDK 64-Bit Server VM (build 24.141-b02,