Date: Fri, 26 May 2000 12:40:42 -0400 (EDT) From: Martin Gingras <lmcmgin@lmc.ericsson.se> To: freebsd-java@FreeBSD.ORG Subject: JDK 1.2.2 Problems Message-ID: <Pine.BSF.4.21.0005261227280.5409-100000@linux8.lmc.ericsson.se>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0005261227280.5409-100000>