Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 May 2000 10:29:15 +0100
From:      "Koster, K.J." <K.J.Koster@kpn.com>
To:        'Martin Gingras' <lmcmgin@lmc.ericsson.se>, freebsd-java@FreeBSD.ORG
Subject:   RE: JDK 1.2.2 Problems
Message-ID:  <59063B5B4D98D311BC0D0001FA7E4522026D759F@l04.research.kpn.com>

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




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