Re: blind spot for java
On Friday 26 August 2005 13:47, Kent West wrote:
>
> Try performing some other action on the file, such as renaming it.
Yep I can rename it.
-rwxr-xr-x 1 root staff 64492 2005-08-26 12:21 javarenamed
# ./javarenamed
-su: ./javarenamed: No such file or directory
>
> Also try it from a different shell (tcsh, etc).
>
I've never switched shell before so here's my best guess at how to do it (I
feel like a complete noob now :o))
foo@bar:/usr/local/jdk1.5.0_04/bin$ tcsh
foo:/usr/local/jdk1.5.0_04/bin> ./java
./java: Command not found.
foo:/usr/local/jdk1.5.0_04/bin> ls -l
-rwxr-xr-x 1 root staff 64492 2005-08-26 12:21 java
foo:/usr/local/jdk1.5.0_04/bin> exit
exit
foo@bar:/usr/local/jdk1.5.0_04/bin$ sh
sh-3.00$ ./java
sh: ./java: No such file or directory
sh-3.00$ exit
exit
foo@bar:/usr/local/jdk1.5.0_04/bin$ csh
foo:/usr/local/jdk1.5.0_04/bin> ./java
./java: Command not found.
Looks like it doesn't work in any shell.
I have tried moving the JDK install to another location on the disk as well
(to under /var/local) and no joy their either.
Graham
> --
> Kent
Reply to: