sh is already a link to bash. 

lrwxrwxrwx  1 root root      4 Apr 22 12:23 sh -> bash

install.sfx.2752?

CT

-----Original Message-----
From: Hussein Shafie [mailto:[email protected]] 
Sent: 30 May 2008 09:34
To: Chris Taylor
Cc: xmleditor-support at xmlmind.com
Subject: Re: [XXE] RE: Web links

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.

This email and any files contained therein is confidential and may contain 
privileged information.  If you are not the named addressee(s) or you have 
otherwise received this in error, you should not distribute or copy this e-mail 
or use any of its content for any purpose. Please notify the sender immediately 
by e-mail if you have received this e-mail in error and delete it from your 
system

Reply via email to