Subject: Re: java on current?
To: Chavdar Ivanov <ci4ic4@gmail.com>
From: Zafer Aydogan <zafer@aydogan.de>
List: current-users
Date: 01/10/2007 19:46:57
I'm still getting :

Error: could not find libjava.so
Error: could not find Java 2 Runtime Environment.

I'm using a yesterdays (9th)  Kernel.


2007/1/8, Chavdar Ivanov <ci4ic4@gmail.com>:
> On 1/8/07, Chavdar Ivanov <ci4ic4@gmail.com> wrote:
> > On 1/8/07, Chuck Silvers <chuq@chuq.com> wrote:
> > > On Mon, Dec 18, 2006 at 11:26:10AM +0000, Chavdar Ivanov wrote:
> > > > On 12/18/06, Christos Zoulas <christos@astron.com> wrote:
> > > > >In article <20061218135116.161a6a45@garlique.algebras.org>,
> > > > >George Michaelson  <ggm@apnic.net> wrote:
> > > > >
> > > > >>sure. Here is the kdump output over the ktrace of java -jar
> > > > >> 25114      1 java     CALL  readlink(0x80555e1,0xbfbfb710,0xfff)
> > > > >> 25114      1 java     NAMI  "/emul/linux/proc/self/exe"
> > > > >> 25114      1 java     NAMI  "/emul/linux"
> > > > >> 25114      1 java     NAMI  "/emul/linux/proc/self/exe"
> > > > >> 25114      1 java     RET   readlink 1
> > > > >
> > > > >This is the problem. readlink returns only 1 which means it returns /
> > > >
> > > > On i386 4.99.5 as of 05/12 readlink returns the normal length and java
> > > > works. On the same 4.99.5 as of 10/12 it returns 1. Something has been
> > > > done in between - perhaps in readlink itself?
> > >
> > > FYI, this should be fixed by pooka's first change to vfs_lookup.c yesterday.
> > > (at least, it'll work as well as it did before my changes on dec 9.)
> >
> > Thanks, I'll try this evening.
>
> [2/4.3.2]ci@lisa:~> java -version
> java version "1.5.0_09"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_09-b03, mixed mode)
> [2/4.3.2]ci@lisa:~> uname -a
> NetBSD lisa 4.99.7 NetBSD 4.99.7 (LISA.MPACPI) #11: Mon Jan  8
> 22:41:15 GMT 2007
> root@lisa:/usr/obj/sys/arch/i386/compile/LISA.MPACPI i386
>
> It works, thanks!
>
> >
> > >
> > > -Chuck
> > >
>
> Chavdar
>
> >
>
>