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

Re: blind spot for java



Graham Smith <graham@crazysquirrel.com> writes:

> I have a JDK installed in /usr/local/jdk1.5.0_04/ when I attempt to execute
>
> foo@bar$ /usr/local/jdk1.5.0_04/bin/java
>
> I get
>
> bash: /usr/local/jdk1.5.0_04/bin/java: No such file or directory
>
> which is quite plainly wrong as the file most certainly does exist and has 
> execution rights. I have another (very slightly older and 64-bit) version of 
> Java installed via java-package which works fine but I need to get this one 
> working.

What happens when you do 

    strace -f /usr/local/jdk1.5.0_04/bin/java

?  That should show you which files it was looking for that don't
exist.  Perhaps that output is elucidating.

Can you do "java -version"?

Kai



Reply to: