Chris Taylor wrote:
> Sorry to bother you again. I am having problems downloading the Linux64
> version of the jdk. I made sure the downliad bin file was the same size
> as the Sun download site.  
> 
> Then ran: 
> [red-87]</opt>% ./jdk-6u6-linux-x64.bin
> 
> This came up with a license agreement, which I defined yes, and then I
> get an error with files not found.
> 
> 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...
> ./jdk-6u6-linux-x64.bin: line 450: install.sfx.2752: No such file or
> directory
> Checksumming...
> /usr/bin/sum: install.sfx.2752: No such file or directory
> ./jdk-6u6-linux-x64.bin: line 468: [: -ne: unary operator expected
> ./jdk-6u6-linux-x64.bin: line 468: [: -ne: unary operator expected
> chmod: cannot access `install.sfx.2752': No such file or directory
> Extracting...
> ./jdk-6u6-linux-x64.bin: line 480: ./install.sfx.2752: No such file or
> directory
> Failed to extract the files.  Please refer to the Troubleshooting
> section of
> the Installation Instructions on the download page for more information.
> 
> Any ideas?

Yes, when it's fooled up beyond all recognition like, this my experience 
tells me it is because

* ./jdk-6u6-linux-x64.bin is a bourne shell script starting with "!/bin/sh"

* On your Linux box, /bin/sh is a link to /bin/dash.

Cure:

Uninstall dash. Normally after that, /bin/sh becomes a link to /bin/bash.

Reply via email to