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

Re: blind spot for java



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



Reply to: