Re: blind spot for java

2005-08-27 Thread Hendrik Boom
On Fri, Aug 26, 2005 at 03:37:54PM +0200, Kai Grossjohann wrote: > Graham Smith <[EMAIL PROTECTED]> writes: > > > I have a JDK installed in /usr/local/jdk1.5.0_04/ when I attempt to execute > > > > [EMAIL PROTECTED] /usr/local/jdk1.5.0_04/bin/java > > > > I get > > > > bash: /usr/local/jdk1.5.0_04

Re: blind spot for java

2005-08-27 Thread Hendrik Boom
On Sat, Aug 27, 2005 at 09:22:17AM -0400, Hendrik Boom wrote: > On Fri, Aug 26, 2005 at 03:09:38PM +0100, Graham Smith wrote: > > On Friday 26 August 2005 14:43, Hendrik Boom wrote: > > > > > > Then maybe it's a shared library that's missing? I had a problem like > > > this > > > years ago with M

Re: blind spot for java

2005-08-27 Thread Hendrik Boom
On Fri, Aug 26, 2005 at 03:09:38PM +0100, Graham Smith wrote: > On Friday 26 August 2005 14:43, Hendrik Boom wrote: > > > > Then maybe it's a shared library that's missing? I had a problem like this > > years ago with Modula 3. There's some kind of command (strace ? -- I > > forget the name; I u

Re: blind spot for java

2005-08-26 Thread Michael Spang
Graham Smith wrote: Hmmm I wonder if this is has something to do with the upgrades going on in unstable at the minute. Shouldn't this line /var/chroot/sid-ia32/lib from ld.so.conf have pulled in the required ld-linux.so.2 link? Graham As I understand it the location of the dynamic linker is

Re: blind spot for java

2005-08-26 Thread Graham Smith
On Friday 26 August 2005 15:56, Michael Marsh wrote: > On 8/26/05, Graham Smith <[EMAIL PROTECTED]> wrote: > > $file java > > java: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for > > GNU/Linux 2.2.5, dynamically linked (uses shared libs), stripped > > Crazy question: You are trying t

Re: blind spot for java

2005-08-26 Thread Graham Smith
On Friday 26 August 2005 15:55, Kent West wrote: > > I'm a little hazy on the chroot; is your "./java" command failing to be > found while in chroot, or while not in chroot. If while in, that seems > odd, as the symlink is there. If while not in, I'd just create a new > symlink: > > ln -s /lib/ld-2

Re: blind spot for java

2005-08-26 Thread Tim Ruehsen
> # ls -la /lib/ld-* > -rwxr-xr-x 1 root root 97904 2005-08-20 00:03 /lib/ld-2.3.5.so > lrwxrwxrwx 1 root root11 2005-08-22 16:17 /lib/ld-linux-x86-64.so.2 -> > ld-2.3.5.so > > Hmmm I wonder if this is has something to do with the upgrades going on in > unstable at the minute. Shouldn't t

Re: blind spot for java

2005-08-26 Thread Michael Marsh
On 8/26/05, Graham Smith <[EMAIL PROTECTED]> wrote: > $file java > java: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux > 2.2.5, dynamically linked (uses shared libs), stripped Crazy question: You are trying this from the 32-bit chroot, right? > $ldd java > /usr/bin/ldd:

Re: blind spot for java

2005-08-26 Thread Kent West
Graham Smith wrote: >On Friday 26 August 2005 15:32, Kent West wrote: > > >>Graham Smith wrote: >> >> >>>$ldd java >>>/usr/bin/ldd: line 171: /lib/ld-linux.so.2: No such file or directory >>>ldd: /lib/ld-linux.so.2 exited with unknown exit code (127) >>> >>> >>What's the result of "ls

Re: blind spot for java

2005-08-26 Thread Graham Smith
On Friday 26 August 2005 15:42, Tim Ruehsen wrote: > > > or 'ldd java', > > > > this looks bad > > > > $ldd java > > /usr/bin/ldd: line 171: /lib/ld-linux.so.2: No such file or directory > > ldd: /lib/ld-linux.so.2 exited with unknown exit code (127) > > Here we go. Let's concentrate on this. Norma

Re: blind spot for java

2005-08-26 Thread Graham Smith
On Friday 26 August 2005 15:46, David Jardine wrote: > > > > Cheers, > > > > Unfortunately I had thought of that and the java file in question is a > > binary not a shell script. > > You haven't got an invisible character (space, for example) at the > end of the name by chance, have you? I.e "java

Re: blind spot for java

2005-08-26 Thread Graham Smith
On Friday 26 August 2005 15:32, Kent West wrote: > Graham Smith wrote: > >On Friday 26 August 2005 14:34, Tim Ruehsen wrote: > >>or 'ldd java', > > > >this looks bad > > > >$ldd java > >/usr/bin/ldd: line 171: /lib/ld-linux.so.2: No such file or directory > >ldd: /lib/ld-linux.so.2 exited with unkn

Re: blind spot for java

2005-08-26 Thread Tim Ruehsen
> > or 'ldd java', > > this looks bad > > $ldd java > /usr/bin/ldd: line 171: /lib/ld-linux.so.2: No such file or directory > ldd: /lib/ld-linux.so.2 exited with unknown exit code (127) Here we go. Let's concentrate on this. Normally, /lib/ld-linux.so.2 is a symlink to e.g. (on my SID system)

Re: blind spot for java

2005-08-26 Thread David Jardine
On Fri, Aug 26, 2005 at 02:03:42PM +0100, Graham Smith wrote: > On Friday 26 August 2005 13:30, Kai Grossjohann wrote: > > Graham Smith <[EMAIL PROTECTED]> writes: > > > bash: /usr/local/jdk1.5.0_04/bin/java: No such file or directory > > > > This message makes you think that /usr/local/jdk1.5.0_04

Re: blind spot for java

2005-08-26 Thread Kent West
Graham Smith wrote: >On Friday 26 August 2005 14:34, Tim Ruehsen wrote: > > >>or 'ldd java', >> >> > >this looks bad > >$ldd java >/usr/bin/ldd: line 171: /lib/ld-linux.so.2: No such file or directory >ldd: /lib/ld-linux.so.2 exited with unknown exit code (127) > > What's the result of "

Re: blind spot for java

2005-08-26 Thread Graham Smith
On Friday 26 August 2005 14:37, Kai Grossjohann wrote: > What happens when you do > > strace -f /usr/local/jdk1.5.0_04/bin/java In another post there is a strace without the -f option here is one with it. # strace -otrace.txt -f /usr/local/jdk1.5.0_04/bin/java strace: exec: No such file or di

Re: blind spot for java

2005-08-26 Thread Graham Smith
On Friday 26 August 2005 14:43, Hendrik Boom wrote: > > Then maybe it's a shared library that's missing? I had a problem like this > years ago with Modula 3. There's some kind of command (strace ? -- I > forget the name; I use it so rarely) that will trace all the system > calls while your progr

Re: blind spot for java

2005-08-26 Thread Kai Grossjohann
Graham Smith <[EMAIL PROTECTED]> writes: > I have a JDK installed in /usr/local/jdk1.5.0_04/ when I attempt to execute > > [EMAIL PROTECTED] /usr/local/jdk1.5.0_04/bin/java > > I get > > bash: /usr/local/jdk1.5.0_04/bin/java: No such file or directory > > which is quite plainly wrong as the file m

Re: blind spot for java

2005-08-26 Thread Graham Smith
On Friday 26 August 2005 14:34, Tim Ruehsen wrote: > Hi Graham, > > - make shure, that file is not a symlink. It should tell you if you do 'ls > -la'. nope it's not a symlink > - make shure that not one of the directories has obscure permissions. drwxr-xdrwxr-xr-x 12 root root 4096 2005-08-2

Re: blind spot for java

2005-08-26 Thread Kent West
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

Re: blind spot for java

2005-08-26 Thread Hendrik Boom
On Fri, Aug 26, 2005 at 02:03:42PM +0100, Graham Smith wrote: > On Friday 26 August 2005 13:30, Kai Grossjohann wrote: > > Graham Smith <[EMAIL PROTECTED]> writes: > > > bash: /usr/local/jdk1.5.0_04/bin/java: No such file or directory > > > > This message makes you think that /usr/local/jdk1.5.0_04

Re: blind spot for java

2005-08-26 Thread Tim Ruehsen
I just forgot: make shure, you don't have an alias in your shell. Try 'alias' in your bash. Tim Am Freitag, 26. August 2005 13:32 schrieb Graham Smith: > Hi, > > I know this might seem a little strange but my system seems to have developed > a blind spot for Java. > > I have a JDK installed

Re: blind spot for java

2005-08-26 Thread Tim Ruehsen
Hi Graham, - make shure, that file is not a symlink. It should tell you if you do 'ls -la'. - make shure that not one of the directories has obscure permissions. You could (as root) copy the java file into /tmp and try to execute it there. Does it work? If not, maybe the file is corrupt. Try th

Re: blind spot for java

2005-08-26 Thread Graham Smith
On Friday 26 August 2005 13:30, Kai Grossjohann wrote: > Graham Smith <[EMAIL PROTECTED]> writes: > > bash: /usr/local/jdk1.5.0_04/bin/java: No such file or directory > > This message makes you think that /usr/local/jdk1.5.0_04/bin/java does > not exist. But that is sometimes wrong. Look if this

Re: blind spot for java

2005-08-26 Thread Graham Smith
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 differen

Re: blind spot for java

2005-08-26 Thread Kai Grossjohann
Graham Smith <[EMAIL PROTECTED]> writes: > bash: /usr/local/jdk1.5.0_04/bin/java: No such file or directory This message makes you think that /usr/local/jdk1.5.0_04/bin/java does not exist. But that is sometimes wrong. Look if this file is a shell script. If so, look at its shebang line and fi

Re: blind spot for java

2005-08-26 Thread Kent West
Graham Smith wrote: >On Friday 26 August 2005 13:10, Kent West wrote: > > >>[EMAIL PROTECTED]:/home/westk> ls -l /usr/local/jdk1.5.0/bin/java >>-rwxr-xr-x 1 root staff 64492 Sep 15 2004 /usr/local/jdk1.5.0/bin/java >> >> > >[EMAIL PROTECTED]:/usr/local/jdk1.5.0_04/bin$ ll >total 3160 >-rwx

Re: blind spot for java

2005-08-26 Thread Graham Smith
On Friday 26 August 2005 13:10, Kent West wrote: > > How 'bout showing us the output of "ls -l > /usr/local/jdk1.5.0_04/bin/java"? Here's mine: > > [EMAIL PROTECTED]:/home/westk> ls -l /usr/local/jdk1.5.0/bin/java > -rwxr-xr-x 1 root staff 64492 Sep 15 2004 /usr/local/jdk1.5.0/bin/java Well if y

Re: blind spot for java

2005-08-26 Thread Kent West
Graham Smith wrote: >I have a JDK installed in /usr/local/jdk1.5.0_04/ when I attempt to >execute >> >> [EMAIL PROTECTED] /usr/local/jdk1.5.0_04/bin/java >> >I get >> bash: /usr/local/jdk1.5.0_04/bin/java: No such file or directory >which is quite plainly wrong as the file most certainly does ex

Re: blind spot for java

2005-08-26 Thread Graham Smith
Thanks for the pointer. The problem, though, is not getting Java installed; I have it installed and I am using the 64bit linux version as I write. The problem is that a 32bit VM that I use (because the 64 bit version doesn't have a client mode) has for some reason stopped working. I am conce

Re: blind spot for java

2005-08-26 Thread Bill Day
It took me a couple of times to notice I had a slight typo in my setup before I reeally relaized what was going on, once I slowed down and double checked my install from( http://www.debian.org/doc/manuals/debian-java-faq/ch11.html ) all went quite well. On Friday August 26 2005 7:32 am, Graham