Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 May 2000 09:06:23 +0930 (CST)
From:      Greg Lewis <glewis@trc.adelaide.edu.au>
To:        Martin Gingras <lmcmgin@lmc.ericsson.se>
Cc:        freebsd-java@FreeBSD.ORG
Subject:   Re: JDK 1.2.2 Problems
Message-ID:  <200005262336.JAA78406@ares.trc.adelaide.edu.au>
In-Reply-To: <Pine.BSF.4.21.0005261227280.5409-100000@linux8.lmc.ericsson.se> from Martin Gingras at "May 26, 2000 12:40:42 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005262336.JAA78406>