From owner-freebsd-java@FreeBSD.ORG Mon Oct 24 12:28:39 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 817A116A41F for ; Mon, 24 Oct 2005 12:28:39 +0000 (GMT) (envelope-from hwh@gddsn.org.cn) Received: from gddsn.org.cn (gddsn.org.cn [218.19.164.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA53043D49 for ; Mon, 24 Oct 2005 12:28:38 +0000 (GMT) (envelope-from hwh@gddsn.org.cn) Received: from [192.168.1.5] (unknown [218.20.228.243]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gddsn.org.cn (Postfix) with ESMTP id F26C938CB4D for ; Mon, 24 Oct 2005 20:28:34 +0800 (CST) Message-ID: <435CD371.1030708@gddsn.org.cn> Date: Mon, 24 Oct 2005 20:28:33 +0800 From: Huang wen hui User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051012) X-Accept-Language: zh-cn,zh MIME-Version: 1.0 Cc: freebsd-java@freebsd.org References: <20051024002718.86127.qmail@web80801.mail.yahoo.com> <435C2DB1.5010106@gddsn.org.cn> In-Reply-To: <435C2DB1.5010106@gddsn.org.cn> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Help: Install JDK 1.5 on FreeBSD 5.4 AMD64 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Oct 2005 12:28:39 -0000 Huang wen hui wrote: > Tanya N kessler wrote: > >> O.K., I did a totally fresh install of FreeBSD 5.4 on >> AMD64. Updated CVS with the stable verison 5.x. Did >> a portupgrade of all src and port. Built and >> installed a kernel w/COMPAT_LINUX32 support. Added >> linprocfs to my fstab. Built and installed >> linux-sun-jdk14. Then I go to build native jdk15 and >> I still get the same error. javac is executable by >> user, group, and others. I'm not sure how to tell if >> the VM loads O.K. from linprocfs. All I know is that >> I just switched to FreeBSD. I like a lot, but I can't >> seem to get native java work. Will someone please >> tell me what I am doing wrong... >> >> >> > try to use native jdk1.4.2 as bootstrapper. Of cause you need > COMPAT_IA32 and lib32 options. I succeeded to install jdk1.5.0-p1 on > 5.4R. > > --hwh forgot this: you need to replace /usr/lib32/libpthread by /usr/lib32/libc_r.