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

Re: No such file or directory ...



 Well, in case someone runs against similar weird problems.
~
 As Raphaël hinted, their root seems to relate to my starting
Linux/Debian/knoppix as:
~
 knoppix64 ...
~
 which I think it is what I should do right?
~
$ uname -a
Linux Microknoppix 3.3.7 #38 SMP PREEMPT Tue May 22 06:21:01 CEST 2012
i686 GNU/Linux

$ uname -m
i686

$ cat /proc/cpuinfo | grep 64
model name	: AMD Athlon(tm) 64 Processor 3500+
clflush size	: 64
cache_alignment	: 64
~
 for some reason that is still not totally clear to me, starting using
a 32-bit baseline:
~
 knoppix ...
~
 seems to be fine and of course I also used the 32-bit version of the JVM
~
 thanks
 lbrtchx
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~
$ which bash
/bin/bash

$ bash --version
GNU bash, version 4.2.20(1)-release (i486-pc-linux-gnu)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

$ export JAVA_HOME="/media/sdb1/inst/sw/jdk/x86/1.7.0_07"

$ export PATH="$JAVA_HOME"/bin:$PATH

$ echo $PATH
/media/sdb1/inst/sw/jdk/x86/1.7.0_07/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

$ which java
/media/sdb1/inst/sw/jdk/x86/1.7.0_07/bin/java

$ java -version
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
Java HotSpot(TM) Client VM (build 23.3-b01, mixed mode)

$ which bash
/bin/bash
~
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~






On 10/15/12, Raphael Cauderlier <cauderlier@crans.org> wrote:
> 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
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> Archive: [🔎] vt2lif7vi3b.fsf@zamok.crans.org">http://lists.debian.org/[🔎] vt2lif7vi3b.fsf@zamok.crans.org
>
>


Reply to: