uninstall java on linux
If you are not sure of what the dependent packages that might be blocking java then you can also use yum remove jdk* This will also take care of dependent rpms . [root@linux06 usr]# yum remove jdk1.8.0_111-1.8.0_111-fcs.i586 Loaded plugins: refresh-packagekit, security Setting up Remove Process Resolving Dependencies --> Running transaction check ---> Package jdk1.8.0_111.i586 2000:1.8.0_111-fcs will be erased --> Processing Dependency: java for package: jna-3.2.4-2.el6.x86_64 --> Running transaction check ---> Package jna.x86_64 0:3.2.4-2.el6 will be erased --> Finished Dependency Resolution Dependencies Resolved ====================================================================================================================== Package Arch Version Repository ...