JDK-6978307 : Tested JRE can not be installed on unix if the previous train of tested JRE is already installed
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: linux_redhat_5.0
  • CPU: x86
  • Submitted: 2010-08-19
  • Updated: 2011-05-26
  • Resolved: 2011-05-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7 b137Fixed
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.
28-03-2011

WORK AROUND The workaround that will work is to use -F rpm -ivFh jdk-7........
28-03-2011