United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6978307 Tested JRE can not be installed on unix if the previous train of tested JRE is already installed
JDK-6978307 : Tested JRE can not be installed on unix if the previous train of tested JRE is already installed

Details
Type:
Bug
Submit Date:
2010-08-19
Status:
Closed
Updated Date:
2011-05-26
Project Name:
JDK
Resolved Date:
2011-05-17
Component:
install
OS:
linux_redhat_5.0
Sub-Component:
install
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports

Sub Tasks

Description
Case Spec: http://j2se.sfbay.sun.com/web/bin/view/JCG/UnixTestSpec

Steps to reproduce:

   1. Check preconditions
          * VERIFY No JRE or JDK is installed on the system 
   2. Install  6u20 (the rpm version of JRE of the previous train of tested JRE)
   3. Launch JDK7 b105 (the rpm version of JRE installer to default location)
   4. Accept the default prompt, check if JDK7 b105 is installed correctly

Actual result:
      JDK7 b105 can not be installed, please see the error message in Terminal "
      [root@rhel5 install]# rpm -ivh jre-7-ea-bin-b105-linux-i586-13_aug_2010.rpm  --prefix /usr/local
       Preparing...                ########################################### [100%]
      file /etc/init.d/jexec from install of jre-1.7.0-ea.i586 conflicts with file from package jre-1.6.0_20-fcs.i586"

Expected result:
      JDK7 b105 should be installed correctly after 6u20 is installed.
This issue seems to important enough to merit a P2 priority.
	GGG

                                    

Comments
EVALUATION

The installer script thinks 1.6 is the latest version so the latest version 1.7 of jexec is not removed. There is a hard coded value of the release to the a string instead of deriving it from the build system. To fix this properly requires some time.
                                     
2011-03-28
WORK AROUND

The workaround that will work is to use -F

rpm -ivFh jdk-7........
                                     
2011-03-28



Hardware and Software, Engineered to Work Together