Thanks for your reply John.

In the old days of UNIX shar files were just borne shell scripts with any
binary in a uuencode include.  The script itself was always ascii, thus my
incorrect assumption that this was to be downloaded as ascii.

Indeed downloading as bin fixed things.  I have cc'ed this to the list so
anyone reading wont commit the same boo boo.

Thanks
john

On 28-Nov-99 [EMAIL PROTECTED] wrote:
> Actually, it's a bit more peculiar than that.  The sh file is actually
> mostly binary.  I'm guessing the sh style distribution is so they can stick
> on the license agreement, probably at sun's behest.  In any case, you'll
> have to download it in binary mode, not ascii mode.  As far as compression
> is concerned, it appears to be a self extracting zip file.  You won't get a
> lot more compression by compressing the sh file (I tried).
> 
> It's a peculiar way to distribute binaries, and I personally wouldn't
> expect it to work.  Perhaps it doesn't... that would explain all the
> complaints of "Illegal Instruction" out there (myself included).
> 
> 
> 
> 
> 
> 
> "John N. Alegre" <[EMAIL PROTECTED]> on 11/28/99 02:16:37 PM
> 
> To:   [EMAIL PROTECTED]
> cc:    (bcc: John Knutson/GISD/SGG/ARLUT)
> Subject:  Corrupted JDK-1.2.2
> 
> 
> 
> 
> Ok, got a problem.
> Downloaded 21 megs of jdk-1.2.2-RC2-linux-i386-glibc-2.1.2.sh.  Downloaded
> it
> as ASCII from ftp.tux.org.
> When I do:
> sh jdk-1.2.2-RC2-linux-i386-glibc-2.1.2.sh
> I get about 10 screens of licence info and then:
> 5.  Source Code.  Software may contain source code that is provided
> solely for reference purposes pursuant to the terms of this Agreement.
> Do you agree to the above license terms? [yes or no]
> yes
> Unpacking...
> Checksumming...
> 1
> 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.
> What gives?  Why the shar file anyway? bz2 was ok, gz even better.  shar
> files
> aren't even compressed????
> All comments welcome
> john
> ----------------------------------
> E-Mail: John N. Alegre <[EMAIL PROTECTED]>
> Date: 28-Nov-99
> Time: 14:08:47
> This message was sent by XFMail
> ----------------------------------
> 
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 
> 
> 

----------------------------------
E-Mail: John N. Alegre <[EMAIL PROTECTED]>
Date: 28-Nov-99
Time: 19:59:40

This message was sent by XFMail
----------------------------------


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to