安装Sun JDK 7时的事务检查错误 [英] Transaction check error when installing Sun JDK 7

查看:51
本文介绍了安装Sun JDK 7时的事务检查错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的一个Linux实例,我试图使用rpm安装JDK 7.已经安装了JRE 6,我想同时安装JDK 7.当我尝试安装JDK 7时,出现以下错误:

One my linux instance, I am trying to install JDK 7 using the rpm. There is already JRE 6 installed, and I want to install JDK 7 along that. When I try to install JDK 7, getting the following error:

# rpm -ivh jdk-7u3-linux-x64.rpm
  Preparing...                ########################################### [100%]
    file /etc/init.d/jexec from install of jdk-2000:1.7.0_03-fcs.x86_64 conflicts with file from package jre-1.6.0_20-fcs.x86_64

我还尝试使用yum安装:

I also tried installing using yum using:

# yum install jdk-7u3-linux-x64.rpm

这导致交易检查错误:

Transaction Check Error:
    file /etc/init.d/jexec from install of jdk-2000:1.7.0_03-fcs.x86_64 conflicts with file from package jre-1.6.0_20-fcs.x86_64

有人可以帮助我安装此程序吗?我必须保留已经安装的JRE 6,因此删除它对我来说不是解决方案.

Can someone help me to get this installed. I HAVE to retain already installed JRE 6, so removing that is not the solution for me.

任何帮助将不胜感激!

谢谢

Noman A.

推荐答案

没有找到任何解决方案,因此我继续使用适用于各个JDK版本的tar文件安装了JDK.

Did not find any solution to this, so I went ahead and installed JDK using the tar file available for the respective JDK version.

-诺曼A.

这篇关于安装Sun JDK 7时的事务检查错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆