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

Re: No such file or directory ...



Albretch Mueller <lbrtchx@gmail.com> writes:

>  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
>

I just had a similar problem and solved it using the solution from
https://workbooks.wordpress.com/2009/08/05/java-no-such-file-or-directory-on-linux/
(installing the package ia32-libs)

I hope this helps.

-- 
Raphaël Cauderlier


Reply to: