Hi

On Mon, Oct 15, 2012 at 04:24:25PM +0100, Albretch Mueller wrote:
>  I am having problems which I think may relate to an actually dying
> disk, but I am not sure. Sometimes I have thought it is because of a
> dying disk and then we have realized it wasn't.
> ~
>  I basically installed java and recursively copied the files to
> another directory. 'which' and 'ls' are telling me the file is where I
> put and declared it in the PATH, but the JVM doesn't find it
> ~
>  What do you think is wrong with the picture?
> ~
>  thanks
>  lbrtchx
> ~
> $ echo $PATH
> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
> 
> $ export JAVA_HOME="/media/sdd1/jdk/x64/jdk1.7.0_07"
> 
> $ export PATH="$JAVA_HOME"/bin:$PATH
> 
> $ echo $PATH
> /media/sdd1/jdk/x64/jdk1.7.0_07/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
> 
> $ which java
> /media/sdd1/jdk/x64/jdk1.7.0_07/bin/java
> 
> $ java -version
> bash: /media/sdd1/jdk/x64/jdk1.7.0_07/bin/java: No such file or directory

What does :

$ file ./java

report ?

If ./java is a script and contains a she-bang which references a
non-existent shell, this would be expected. For example if it
contained:
        #!/bin/bash
and you /bin/bash did not exist....


-- 
Karl E. Jorgensen


-- 
To UNSUBSCRIBE, email to [email protected] 
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/20121015153958.GA12644@hawking

Reply via email to