Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] problem with J2SE bin file



On Thu, May 30, 2002 at 11:49:44AM +0900, A.Sajjad Zaidi wrote:
> On Thu, May 30, 2002 at 08:43:05AM +0000, Jack Morgan wrote:
> > 
> > No, this script is looking for /bin/sh as it's shell but you are using bash
> 
> Its a bad idea not to have /bin/sh since many scripts may depend on it.
> On most modern machines, this is a link to /bin/bash.
> 
> This could be just a permission problem like the error message said.
> 
> > Just edit this script, change the first line from #!/bin/sh to #!/bin/bash
> > and try again.
> 
> Thats another bad idea, specially since it is self-executing. You should
> never edit something if its your system that is broken. Instead, you
> could execute it like this:
> 
> . ./j2re-1_3_1_03-linux-i386.bin
> 
> or
> 
> bash ./j2re-1_3_1_03-linux-i386.bin

Ah, good point. Thanks for pointing that out.
 
-- 
jack_morgan


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links