Oracle is now my friend

Thank you Oracle (Roger and Justin Kestelyn) for getting back to me on my complaint regarding an issue I describe as “not being able to unpack the self extracting binary JDKs from the Oracle download link” below:

http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html

Here is the error after downloading this self extracting binary file named “jdk-6u18-solaris-sparc.sh.


For inquiries please contact: Sun Microsystems, Inc., 4150
Network Circle, Santa  Clara, California 95054, U.S.A.

Do you agree to the above license terms? [yes or no]
yes
Unpacking...
Checksumming...
The download file appears to be corrupted.  Please refer
to the Troubleshooting section of the Installation
Instructions on the download page for more information.
Please do not attempt to install this archive file.

UPDATE:  A UNIX Engineer at my company has solved the problem for me, though I still cannot unpack using his instrux yet in case I need to do this again in the future.  Once I get the exact instrux he applied, I will add them here.

More updates to follow …

Thanks, – Ben

Comments

  1. Hi Ben,

    I just ran through this on my Windows machine and FTP'd it over to a Solaris server and was able to install using a .sh file.

    The file I used was jdk-6u26-solaris-sparc.sh, which I downloaded from the URL that you listed.

    It could be that the file was corrupted during the transfer to the server. As this is a .sh file often transfer tools ( like FTP, scp) will transfer these files as text as opposed to binaries. The wrapper is basically text but it does contain binaries which are extracted. As you were able to download and run the tar.Z files, I don't think that your network, proxy or desktop firewall/anti-virus caused the corruption, which we have also seen happen.

    I have pasted the output of my transfer, as a binary, and the extraction below:

    Directory of C:Documents and SettingsuserDownloads

    09/22/2011 10:51 AM .
    09/22/2011 10:51 AM ..
    09/22/2011 10:51 AM 90,228,670 jdk-6u26-solaris-sparc.sh

    C:Documents and SettingsuserDownloads>ftp solarisserver.domain
    Connected to solarisserver.domain.
    220 solarisserver FTP server ready.
    User (solarisserver.domain:(none)): Duke
    331 Password required for Duke.
    Password:
    230 User Duke logged in.
    ftp> bin
    200 Type set to I.
    ftp> put jdk-6u26-solaris-sparc.sh
    200 PORT command successful.
    150 Opening BINARY mode data connection for jdk-6u26-solaris-sparc.sh.
    226 Transfer complete.
    ftp: 90228670 bytes sent in 12.63Seconds 7146.83Kbytes/sec.

    SSH to the server:
    [Duke@solarisserver]/home/Duke(37) >cd solarisExtract/
    [Duke@solarisserver]/home/Duke/solarisExtract(39) >ls -al
    total 176366
    drwxr-xr-x 2 Duke staff 512 Sep 22 10:55 ./
    drwx–x–x 62 Duke staff 6144 Sep 22 10:55 ../
    -rw-r–r– 1 Duke staff 90228670 Sep 22 10:52 jdk-6u26-solaris-sparc.sh
    [Duke@solarisserver]/home/Duke/solarisExtract(40) >chmod 755 jdk-6u26-solaris-sparc.sh
    [Duke@solarisserver]/home/Duke/solarisExtract(41) >./jdk-6u26-solaris-sparc.sh
    Unpacking…
    Checksumming…
    Extracting…
    Archive: ./install.sfx.3687
    creating: jdk1.6.0_26/
    creating: jdk1.6.0_26/jre/
    creating: jdk1.6.0_26/jre/bin/
    inflating: jdk1.6.0_26/jre/bin/java
    inflating: jdk1.6.0_26/jre/bin/keytool
    inflating: jdk1.6.0_26/jre/bin/policytool
    inflating: jdk1.6.0_26/jre/bin/rmiregistry
    inflating: jdk1.6.0_26/jre/bin/rmid
    inflating: jdk1.6.0_26/jre/bin/tnameserv
    inflating: jdk1.6.0_26/jre/bin/orbd

    Please try to do the transfer in binary mode. If you still have the problem, send me mail, with an example file, the sever OS and version, as well the steps you took to transfer and extract the file.

    Let me know what you find,
    Roger
    Java SE group at Oracle

    • Hi Roger, thanks for chiming in on this thread. One of our UNIX Engineers was able to get the specific file I needed unpacked. I have been using binary transfer.
      The files I had been trying are as follows from the download link in the post:
      jdk-6u18-solaris-sparc.sh
      I will remove the scathing comments from my post now. Personally I have not been able to get this one to unpack. I will comb through your instrux and keep trying just so I can document where I am going wrong.
      I will comment on my progress later.
      Thanks, – Ben

      • Hi Ben,

        Thanks for removing the scathing comments :)
        As you can tell the JavaSE downloads have moved from the java.sun.com site to oracle.com, and the download process/mechanism has migrated into Oracle's system. The downloads are entered into the system using automated processes, reducing human error and tests are done to ensure that files work as they should. Given the number of downloads we have each day, each hour, or even each minute, they have to work.

        I ran through the example file you gave and was able to download, ftp and extract without any issues. It could be that the download is indeed being corrupted.

        As I had mentioned we do here about individuals having issues with their network infrastructure, local firewalls, anti-virus filters etc, that cause corruptions. One way to see if that is happening is to look at check sums. We do not list them on the Oracle site, though it has been discussed. Below is the checksum I generated and the output of the process I went through. You can generate the checksum on the machine you use to do the download and then again on your sever, assuming you are not downloading directly to the server.

        ———————————————————————————-

        MyMachine:Downloads user$ ls -al jdk-6u18-solaris-sparc.sh
        -rw-r–r–@ 1 user staff 89823634 Sep 23 09:34 jdk-6u18-solaris-sparc.sh

        MyMachine:Downloads user$ md5sum jdk-6u18-solaris-sparc.sh
        989b11a97e4b56201b7460f69c514e7d jdk-6u18-solaris-sparc.sh

        ———————————————————————————-
        For inquiries please contact: Sun Microsystems, Inc., 4150
        Network Circle, Santa Clara, California 95054, U.S.A.

        Do you agree to the above license terms? [yes or no]
        yes
        Unpacking…
        Checksumming…
        Extracting…
        Archive: ./install.sfx.12469
        creating: jdk1.6.0_18/
        creating: jdk1.6.0_18/jre/
        creating: jdk1.6.0_18/jre/bin/

        Sorry that you spent as much time as you did with the download and install. Hopefully your are able to identify the cause of corruption that you are experiencing.

        -Roger

Trackbacks

  1. Quora says:

    JDK Downloads Corrupt on Oracle…

    Why are all of the self extracting binaries for JDKs corrupt on Oracle’s download page? Getting the JDK software from Sun was never this difficult. Anybody else run into this problem? I am posting this question on other social media silos as well, so …

Speak Your Mind

*