在CentOS 7上切换默认的java版本 使用命令:sudo update-alternatives --config java举例如下:参考资料================https://askubuntu.com/questions/1119906/how-do-i-uninstall-java-11-to-be-able-to-install-java-8-for-android-studio