From owner-freebsd-java Mon May 29 1:40: 9 2000 Delivered-To: freebsd-java@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id A5FAD37BB56 for ; Mon, 29 May 2000 01:40:05 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #42699) with ESMTP id <01JPYWNCNXPY0005S5@research.kpn.com> for freebsd-java@FreeBSD.ORG; Mon, 29 May 2000 10:39:59 +0200 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2650.21) id ; Mon, 29 May 2000 10:29:18 +0100 Content-return: allowed Date: Mon, 29 May 2000 10:29:15 +0100 From: "Koster, K.J." Subject: RE: JDK 1.2.2 Problems To: 'Martin Gingras' , freebsd-java@FreeBSD.ORG Message-id: <59063B5B4D98D311BC0D0001FA7E4522026D759F@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org What version of the linux_base do you have installed? You may want to upgrade to the latest. I've had reports that *only* 6.1 works properly, and the error messages you print are disturbingly similar. Kees Jan ============================================== Everyone is responsible for his own actions, and (people tend to forget this) the effect they have on others. > -----Original Message----- > From: Martin Gingras [mailto:lmcmgin@lmc.ericsson.se] > Sent: vrijdag 26 mei 2000 17:41 > To: freebsd-java@FreeBSD.ORG > Subject: JDK 1.2.2 Problems > > > > Hi, I am experiencing strange problem with the official port release. > > > uname -a > FreeBSD linux8.lmc.ericsson.se 4.0-RELEASE FreeBSD > 4.0-RELEASE #0: Sun May > 21 12:50:13 EDT 2000 > r00t@linux8.lmc.ericsson.se:/usr/src/sys/compile/GENERIC i386 > > I am using /bin/sh. > > downloaded from http://www.freebsd.org/ports/java.html#linux-jdk-1.2.2 > > # pwd > /usr/home/r00t/linux-jdk > > # make install > ===> Installing for jdk-1.2.2-RC4-linux-i386-glibc-2.1.2 > ===> jdk-1.2.2-RC4-linux-i386-glibc-2.1.2 depends on > file: /compat/linux/usr/i486-linux-libc5/lib/libc.so.5 - found > /bin/mkdir -p /usr/local/linux-jdk1.2.2 > (cd /usr/home/r00t/linux-jdk/work/jdk1.2.2 && tar -c -f - .) | (cd > /usr/local/linux-jdk1.2.2 && tar fx -) > /bin/rm /usr/local/linux-jdk1.2.2/bin/.java_wrapper.orig > /bin/rm /usr/local/linux-jdk1.2.2/jre/bin/.java_wrapper.orig > ===> Generating temporary packing list > ===> Registering installation for > jdk-1.2.2-RC4-linux-i386-glibc-2.1.2 > # > > (no errors) > > # /usr/local/linux-jdk1.2.2/bin/java > Segmentation fault - core dumped > /usr/local/linux-jdk1.2.2/bin/java: /bin/realpath: not found > /usr/local/linux-jdk1.2.2/bin/java: /bin/realpath: not found > java was not found in /bin/i386/green_threads/java > # > > I have tried other shells (csh, bash) and got the same results. > > let's have a look to /usr/local/linux-jdk1.2.2/bin/java: > > I add some echo (variable): > > -snip- > > echo > echo APPHOME:$APPHOME > echo > > echo > echo JREHOME:$JREHOME > echo > > echo > echo JRE:$jre > echo > > # Get the canonicalized absolute pathnames > jre="`$jre/bin/realpath $jre`" > APPHOME="`${jre}/bin/realpath $APPHOME`" > JREHOME="`${jre}/bin/realpath $JREHOME`" > export APPHOME JREHOME > > echo > echo APPHOME:$APPHOME > echo > > echo > echo JREHOME:$JREHOME > echo > > -snip- > > running java again I got: > > # java > APPHOME:/usr/local/linux-jdk1.2.2/bin/.. > JREHOME:/usr/local/linux-jdk1.2.2/bin/../jre > JRE:/usr/local/linux-jdk1.2.2/bin/../jre > Segmentation fault - core dumped > /usr/local/linux-jdk1.2.2/bin/java: /bin/realpath: not found > /usr/local/linux-jdk1.2.2/bin/java: /bin/realpath: not found > APPHOME: > JREHOME: > java was not found in /bin/i386/green_threads/java > # > > > > I tried to force the definition of APPHOME and JREHOME with no luck. > > Anyone can tell me what is going on ? > Is it shell related? > Someone can send me their /usr/local/linux-jdk1.2.2/bin/java > to compare? > > Thanx > > Martin Gingras > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message