[root@localhost usr]# rpm -ivh jdk-8u11-linux-i586.rpm
Preparing... ########################################### [100%]
file /etc/init.d/jexec from install of jdk-1.8.0_11-fcs conflicts with file from package jdk-1.6.0_03-fcs
Linux安装jdk时发生冲突,解决方法卸载重装!!
一、查看已安装的jdk: rpm -qa|grep jdk
二、卸载掉冲突的jdk:rpm -e --nodeps jdk-1.6.0_03-fcs
三、重新安装jdk : rpm -ivh jdk-8u11-linux-i586.rpm
file /etc/init.d/jexec from install of jdk-1.8.0_11-fcs conflicts with file from
猜你喜欢
转载自hobure.iteye.com/blog/2376690
今日推荐
周排行