From owner-freebsd-questions@FreeBSD.ORG Tue May 31 03:58:56 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 369D516A41C for ; Tue, 31 May 2005 03:58:56 +0000 (GMT) (envelope-from vizion@vizion.occoxmail.com) Received: from lakecmmtao05.coxmail.com (lakecmmtao05.coxmail.com [68.99.120.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC4C843D1D for ; Tue, 31 May 2005 03:58:55 +0000 (GMT) (envelope-from vizion@vizion.occoxmail.com) Received: from dns1 ([64.58.171.82]) by lakecmmtao05.coxmail.com (InterMail vM.6.01.04.04 201-2131-118-104-20050224) with ESMTP id <20050531035856.CUPC7226.lakecmmtao05.coxmail.com@dns1>; Mon, 30 May 2005 23:58:56 -0400 From: Vizion To: Xu Qiang Date: Mon, 30 May 2005 20:53:47 -0700 User-Agent: KMail/1.8 References: <20050531033656.EE2811D8FE@imss.sgp.fujixerox.com> In-Reply-To: <20050531033656.EE2811D8FE@imss.sgp.fujixerox.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200505302053.47940.vizion@vizion.occoxmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: jdk 1.3.1 in FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 May 2005 03:58:56 -0000 On Monday 30 May 2005 20:46, the author Xu Qiang contributed to the dialogue on- RE: jdk 1.3.1 in FreeBSD: >Vizion wrote: >> I have the sources - I could email them to you > >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-jdk-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 > format: ----------------------------------------- ># 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 are >welcome to change it and/or distribute copies of it under certain > conditions. 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? did you portupgrade? did you do clean? then make ? then make install? (not make install clean!!!) ?? David -- 40 yrs navigating and computing in blue waters. English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus. Currently in San Diego, CA. Sailing May/June bound for Europe via Panama Canal.