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

Proper error message should be thrown when the jdk/ jre installation is not successful

XMLWordPrintable

    • b81
    • sparc
    • solaris
    • Verified

      Proper error message should be thrown when the jdk/ jre installation is not successful

      Tested OS : Solaris
      Tested Build : mustang b75

      Tried installing the jre using file based installer (jre-6-beta2-solaris-sparc.sh)
      into /tmp folder

      The following happened :

      Do you agree to the above license terms? [yes or no]
      yes
      Unpacking...
      Checksumming...
      Extracting...
      .
      .
      .
      .
      linking: jre1.6.0/javaws/javaws -> ../bin/javaws
      Creating jre1.6.0/lib/rt.jar
      Error: write on output file failed err=28
      Creating jre1.6.0/lib/jsse.jar
      Creating jre1.6.0/lib/charsets.jar
      Creating jre1.6.0/lib/ext/localedata.jar
      Creating jre1.6.0/lib/plugin.jar
      Creating jre1.6.0/lib/javaws.jar
      Creating jre1.6.0/lib/deploy.jar
       
      Done.

      rohit:/tmp/malathi/jre1.6.0/bin 170 % ./java -version
      Error occurred during initialization of VM
      java/lang/ClassNotFoundException: error in opening JAR file /tmp/malathi/jre1.6.0/lib/rt.jar

      Expected Behavior :
      When the jdk / jre installation is not successful, proper error message should be thrown at the end of the installation.

            mromanchsunw Michael Romanchuk (Inactive)
            mnarayansunw Malathi Narayanan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: