JDK-6979708 : Solaris: JDK7 b105 can not be installed after b106 is installed to non default location
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Won't Fix
  • OS: solaris_10
  • CPU: sparc
  • Submitted: 2010-08-25
  • Updated: 2011-05-26
  • Resolved: 2011-03-15
Related Reports
Relates :  
Relates :  
Description
Config: Solaris 10 sun4u   64 bit
Spec: http://j2se.sfbay.sun.com/web/bin/view/JCG/UnixTestSpec  Unix003-007

Steps to reproduce:
   1. Check preconditions
          * VERIFY No JRE or JDK is installed on the system 
   2. Install JDK7 b106 (32bit) (the pkg version of the JDK installer) to non default location
   3. Install JDK7 b106 (64bit) (the pkg version of the JDK installer) to non default location
   4. Install JDK7 b105 (32bit)(the pkg version of the old JDK installer) to non default location
   5. Install JDK7 b105 (64bit) (the pkg version of the JDK installer) to non default location
   6. Accept the default prompt, check if b105 is installed succesfully


Actual result:

   1. When install JDK7 b105 (32bit), there is error showing up "pkgadd: ERROR: SUNWj7rt is already installed at /usr. Admin file will force a duplicate installation at /usr/local."
   2. After installh JDK7 b105 (64bit), go to check the java version, it is still build 1.7.0-ea-b106, so b105 is not installed.
   Please refer to the attachment.

Expected result:

   1. JDK7 b105 can be installed successfully.
   2. JDK7 b106 no longer exists.

--

Comments
WORK AROUND Users can work around the issue by using -R base whend doing pkgadd. Release notes will be provided. See: 679http://bt2ws.central.sun.com/CrPrint?id=6979721
15-03-2011