From owner-freebsd-java Fri May 26 9:42:44 2000 Delivered-To: freebsd-java@freebsd.org Received: from imr1.ericy.com (imr1.ericy.com [208.237.135.240]) by hub.freebsd.org (Postfix) with ESMTP id 726E937BE83 for ; Fri, 26 May 2000 09:42:32 -0700 (PDT) (envelope-from lmcmgin@lmc.ericsson.se) Received: from mr3.exu.ericsson.se (mr3u3.ericy.com [208.237.135.126]) by imr1.ericy.com (8.9.3/8.9.3) with ESMTP id LAA26278 for ; Fri, 26 May 2000 11:42:22 -0500 (CDT) Received: from lmc.ericsson.se (noah.lmc.ericsson.se [142.133.1.1]) by mr3.exu.ericsson.se (8.9.3/8.9.3) with ESMTP id LAA25961 for ; Fri, 26 May 2000 11:42:19 -0500 (CDT) Received: from linux8.lmc.ericsson.se (linux8.lmc.ericsson.se [142.133.4.228]) by lmc.ericsson.se (8.9.2/8.9.2) with ESMTP id MAA27651 for ; Fri, 26 May 2000 12:42:12 -0400 (EDT) Date: Fri, 26 May 2000 12:40:42 -0400 (EDT) From: Martin Gingras X-Sender: r00t@linux8.lmc.ericsson.se To: freebsd-java@FreeBSD.ORG Subject: JDK 1.2.2 Problems Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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