From owner-freebsd-java Fri May 26 16:36:37 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id 6965037B95D for ; Fri, 26 May 2000 16:36:33 -0700 (PDT) (envelope-from glewis@ares.trc.adelaide.edu.au) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id JAA78406; Sat, 27 May 2000 09:06:23 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200005262336.JAA78406@ares.trc.adelaide.edu.au> Subject: Re: JDK 1.2.2 Problems In-Reply-To: from Martin Gingras at "May 26, 2000 12:40:42 pm" To: Martin Gingras Date: Sat, 27 May 2000 09:06:23 +0930 (CST) Cc: freebsd-java@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Martin Gingras wrote: > Hi, I am experiencing strange problem with the official port release. > # /usr/local/linux-jdk1.2.2/bin/java > Segmentation fault - core dumped This isn't a good sign. > /usr/local/linux-jdk1.2.2/bin/java: /bin/realpath: not found > /usr/local/linux-jdk1.2.2/bin/java: /bin/realpath: not found realpath is in /usr/local/linux-jdk1.2.2/jre/bin > java was not found in /bin/i386/green_threads/java > # > let's have a look to /usr/local/linux-jdk1.2.2/bin/java: Which is a link to /usr/local/linux-jdk1.2.2/bin/.java_wrapper... > # Get the canonicalized absolute pathnames > jre="`$jre/bin/realpath $jre`" Here is the line which clearly isn't setting jre to what it should, and, I'm guessing, if you put in some trace echos you might find its the one doing the SEGV (which would explain why $jre isn't being set correctly). > APPHOME="`${jre}/bin/realpath $APPHOME`" > JREHOME="`${jre}/bin/realpath $JREHOME`" > export APPHOME JREHOME > # 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 I'd guess this is the biggest problem. > I tried to force the definition of APPHOME and JREHOME with no luck. Try forcing the definition of $jre, but I think there are bigger problems afoot. -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message