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

Sol64: j2sdk1.4.2/lib folder overwritten during install of 64bit j2sdk sh bundle

XMLWordPrintable

    • mantis
    • sparc
    • solaris_8
    • Verified

      Platform: Solaris Sparc 64 bit
      Build : J2SE 1.4.2 mantis b-03
      Bundle: j2sdk-1_4_2-beta-solaris-sparcv9.sh
      Location : /net/mizu/usr/re/jdk1.4.2/bundles/solaris-sparcv9/latest
      Test Case: Clean Install of 1.4.2 J2SDK

      Re Produced in: Solaris 8 sparc v9

      Steps to reproduce:
      1. Install the 32bit sparc bundle j2sdk-1_4_2-beta-solaris-sparc.sh on a clean machine
      2. Install 64 bit bundle on it. 'j2sdk-1_4_2-beta-solaris-sparcv9.sh'

      3. During this install, it prompts the following question

      inflating: j2sdk1.4.2/bin/sparcv9/jdb
         creating: j2sdk1.4.2/demo/sparcv9/
        inflating: j2sdk1.4.2/demo/sparcv9/libpoller.so
      replace j2sdk1.4.2/lib? [y]es, [n]o, [A]ll, [N]one, [r]ename:

      If the user enters 'Y' then the 64 bit installer overwrites the folder 'j2sdk1.4.2/lib' with a file named 'lib'.

      4. java -version and SwingSet2 demo runs fine.

      5. If the user enters 'no' then this problem is not there.

      ###@###.### 2002-10-09
      When the "j2sdk1.4.2/lib" folder is overwritten, javac compiler fails with the following error message
      "Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/tools/javac/Main"


      ###@###.### 2002-10-09
      when the user is "root" and enters 'Y' at the prompt, then "j2sdk1.4.2/lib" folder is overwritten.

      when a non-root user enters 'Y' at the prompt, then it gives an error message:
      "error: cannot delete old j2sdk1.4.2/lib"

            ksrini Kumar Srinivasan
            aramanatsunw Ashwin Ramanathan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: