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

Re: blind spot for java



On Friday 26 August 2005 13:30, Kai Grossjohann wrote:
> Graham Smith <graham@crazysquirrel.com> writes:
> > bash: /usr/local/jdk1.5.0_04/bin/java: No such file or directory
>
> This message makes you think that /usr/local/jdk1.5.0_04/bin/java does
> not exist.  But that is sometimes wrong.  Look if this file is a shell
> script.  If so, look at its shebang line and fix it if necessary.
>
> (If you have a script /bin/foo that starts with "#!/bin/bar", but you
> don't have /bin/bar, then you'll get a message "/bin/foo: No such file
> or directory", but the truth is that it is the file /bin/bar that's
> missing...)
>
> Kai

Cheers,

Unfortunately I had thought of that and the java file in question is a binary 
not a shell script.

Graham



Reply to: