linux中升级jdk的方法

先查看java的安装情况:

# rpm -qa|grep java

卸载:

rpm -e --nodeps *******

然后再安装就可以了

原文地址:https://www.cnblogs.com/modou/p/5099450.html