Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4982082

SUNWj3rt and SUNWj3dev problem with S10 if you install SUNWj5rt and SUNWj5dev

XMLWordPrintable

    • b48
    • generic, sparc
    • solaris_9, solaris_10
    • Not verified

      ###@###.### 2004-01-22

      HW: sun4u
      SW: s10_50
      Cluster: SUNWCuser and above
      Media: combined net image, DVD net image, cd1 combined net image
      Method: CLI interactive and jumpstart install
      Locale: C

      Find the following pkgchk -n errors after the install described above:

      fowl# pkgchk -n SUNWj3rt
      ERROR: /usr/bin/javaws
          pathname not symbolically linked to <../j2se/jre/javaws/javaws>
      ERROR: /usr/java
          pathname not symbolically linked to <./j2se>
      fowl# pkgchk -n SUNWj3dev
      ERROR: /usr/java
          pathname not symbolically linked to <./j2se>
      fowl#



      ###@###.### 2004-03-20

      This still reproduced in s10_55 and it impacts both sparc and intel. This only happens if you install both Java 1.5 and Java 1.4.2 from s10_55. This will impact anyone who install SUNWCuser, SUNWCprog, SUNWCall and SUNWCXall from DVD combined image.

      After the install, we have the following conflicts:

      1. If you look at /usr/bin/javaws, we have the following conflicting entries in the package database:

      # grep -w usr/bin/javaws /var/sadm/install/contents
      /usr/bin/javaws=../j2se/jre/javaws/javaws s none SUNWj3rt
      /usr/bin/javaws=../java/jre/bin/javaws s none SUNWj5rt
      # pkgchk -l -p /usr/bin/javaws
      Pathname: /usr/bin/javaws
      Type: symbolic link
      Source of link: ../j2se/jre/javaws/javaws
      Referenced by the following packages:
              SUNWj3rt
      Current status: installed

      Pathname: /usr/bin/javaws
      Type: symbolic link
      Source of link: ../java/jre/bin/javaws
      Referenced by the following packages:
              SUNWj5rt
      Current status: installed

      #


      2. If you look at /usr/java, we have the following conflicting entries in the package database:

      #grep /usr/java /var/sadm/install/contents | more
      /usr/java=./j2se s none SUNWj3rt SUNWj3dev
      /usr/java=jdk/j2sdk1.5.0 s none SUNWj5rt
      # pkgchk -l -p /usr/java
      Pathname: /usr/java
      Type: symbolic link
      Source of link: ./j2se
      Referenced by the following packages:
              SUNWj3rt SUNWj3dev
      Current status: installed

      Pathname: /usr/java
      Type: symbolic link
      Source of link: jdk/j2sdk1.5.0
      Referenced by the following packages:
              SUNWj5rt
      Current status: installed

      #

      If you look at the installation order when you do DVD install, the .order listed SUNWj3rt first before it listed SUNWj5rt. Thus SUNj3rt will always be installed before SUNWj5rt.



      ###@###.### 2004-05-10

      This is still broken in the latest s10 nightly build for s10_59 with Java 1.4.2_05 and Java 1.5-b49.

      After the install, the pkgchk -n still complains as follow:

      # pkgchk -n SUNWj3rt
      ERROR: /usr/bin/javaws
          pathname not symbolically linked to <../j2se/jre/javaws/javaws>
      ERROR: /usr/java
          pathname not symbolically linked to <./j2se>
      # pkgchk -n SUNWj3dev
      ERROR: /usr/java
          pathname not symbolically linked to <./j2se>
      #
      # pkginfo -l SUNWj5rt
         PKGINST: SUNWj5rt
            NAME: J2SDK 1.5 runtime environment
        CATEGORY: system
            ARCH: sparc
         VERSION: 1.5.0,REV=2004.04.28.06.45
         BASEDIR: /usr
          VENDOR: Sun Microsystems, Inc.
            DESC: Java virtual machine and core class libraries
          PSTAMP: tiger-sparc20040428064524
        INSTDATE: May 10 2004 17:03
         HOTLINE: Please contact your local service provider
          STATUS: completely installed
           FILES: 681 installed pathnames
                        14 shared pathnames
                        72 directories
                        76 executables
                    185682 blocks used (approx)

      # pkginfo -l SUNWj3rt
         PKGINST: SUNWj3rt
            NAME: J2SDK 1.4 runtime environment
        CATEGORY: system
            ARCH: sparc
         VERSION: 1.4.2,REV=2004.03.25.23.38
         BASEDIR: /usr
          VENDOR: Sun Microsystems, Inc.
            DESC: Java virtual machine and core class libraries
          PSTAMP: j2se-sparc20040325233814
        INSTDATE: May 10 2004 16:59
         HOTLINE: Please contact your local service provider
          STATUS: completely installed
           FILES: 680 installed pathnames
                        14 shared pathnames
                        64 directories
                        59 executables
                    119282 blocks used (approx)

      #

            jkowalsksunw Joseph Kowalski (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: