rpm -qa | grep java | xargs rpm -e --nodeps
参考:https://blog.csdn.net/weixin_34060741/article/details/91905833