JDK-6190874 : Install: Can't open /usr/java/jre/plugin/desktop/sun_java.desktop when installing SUNWj5rt package
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 5.0u2
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_8
  • CPU: generic
  • Submitted: 2004-11-04
  • Updated: 2010-04-02
  • Resolved: 2004-11-05
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 6
6Resolved
Related Reports
Duplicate :  
Description
System Config.:
Tiger Update 2 B02, Solaris Sparc 8, 9 and 10
Symptom:
     When using pkgadd to install SUNWj5rt, at the end of the installation (Executing postinstall script.), the following error message occured:
On the builds after tiger update 1 b03:
=========================================================================
...
/usr/jdk/instances/jdk1.5.0/jre/plugin/sparc/ns7/libjavaplugin_oji.so
[ verifying class <none> ]
## Executing postinstall script.
Can't open /usr/java/jre/plugin/desktop/sun_java.desktop

Installation of <SUNWj5rt> was successful.
==========================================================================

on tiger update 1 b03:
--------------------------------------------------------------------------
/usr/jdk/instances/jdk1.5.0/jre/plugin/sparc/ns7/libjavaplugin_oji.so
[ verifying class <none> ]
## Executing postinstall script.
ERROR: attribute verification of </usr/share/control-center-2.0/capplets/sun_jav
a.desktop> failed
    pathname does not exist

Installation of <SUNWj5rt> was successful.
-------------------------------------------------------------------------

I have tried the following scenarios:
1) On Sparc 8, removed all SUNWj5* packages and installed SUNWj5rt:
   Builds        error        
   ======        =========         
   update2 b02   yes      
   update2 b01   yes
   update1 b05   yes
   update1 b04   yes
   update1 b03   yes (different)
   update1 b02   no                 
   beta3         no
2) On Sparc 8, removed all SUNWj2*, SUNWj3* and SUNWj5* packages.
   The very first time of installing SUNWj5rt was OK (meaning no error).
   Starting from the second time, error occured.

3) On Sparc 9, removed all SUNWj5* packages, renamed sun_java.desktop to save_sun_java.desktop under /usr/java/jre/plugin/desktop directory.
   Installed SUNWj5rt, error occured.
   Removed SUNWj5rt (/usr/java/jre/plugin/desktop directory was not removed
   by pkgrm).
   If I rename save_sun_java.desktop back to sun_java.desktop and
   installed SUNWj5rt, then no error occured.

4) On Sparc 10, so far so good.
###@###.### 11/4/04 18:56 GMT