Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 May 2005 11:59:10 +0800
From:      Xu Qiang <Qiang.Xu@fujixerox.com>
To:        freebsd-java@freebsd.org
Cc:        "Qiang \(XSSC\) Xu" <Qiang.Xu@fujixerox.com>
Subject:   jdk 1.3.1 in FreeBSD
Message-ID:  <20050531034915.8873A1D8FE@imss.sgp.fujixerox.com>

next in thread | raw e-mail | index | archive | help
Hi, all: =


I have downloaded diablo-jdk-1.3.1.0.tgz to my FreeBSD 5.3 (for i386) machi=
ne. And "tar zxvf" it into /usr/local. But when I run "java -version" to do=
 a check, it told me that it can't find libc.so.4: =

-----------------------------------------
/usr/libexec/ld-elf.so.1: Shared object "libc.so.4" not found, required by =
"java"
-----------------------------------------

I have found compat4x-i386-5.3.tbz in FreeBSD 5.3 Disc 1. I "tar jxvf" the =
library files into /lib/compat4x. And make some symbolic links: =

ln -s compat4x/libc.so.4
ln -s compat4x/libm.so.2 (This one is also required by the package diablo-j=
dk-1.3.1.0.tgz)

After that, I run "java -version" again, but it throwed out a segmentation =
fault and dumped core. :(
-----------------------------------------
# java -version
Segmentation fault (core dumped)
-----------------------------------------

And when I use gdb to trace the core file, it can't recognize the file form=
at:
-----------------------------------------
# gdb java java.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you ar=
e
welcome to change it and/or distribute copies of it under certain condition=
s.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.=

This GDB was configured as "i386-marcel-freebsd"..."/usr/local/diablo-jdk1.=
3.1/bin/java": not in executable format: File format not recognized

Core was generated by `java'.
Program terminated with signal 11, Segmentation fault.
#0  0x280ee35a in ?? ()
(gdb) =

-----------------------------------------

Any help?

Regards,
Xu Qiang





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