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

Re: blind spot for java



Graham Smith wrote:

>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).
>>    
>>
>
>
>foo@bar:/usr/local/jdk1.5.0_04/bin$ tcsh
>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.
>  
>
As Tim mentioned, run "alias" to make sure you don't have an alias for
"java", although going into a different shell would probably eliminate
this possibility.

Try "strace ./java" and see if that gives any interesting clues.

-- 
Kent West
Technology Support
/A/bilene /C/hristian /U/niversity



Reply to: