From owner-freebsd-java@FreeBSD.ORG Mon Oct 24 08:51:14 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 4901F16A420 for ; Mon, 24 Oct 2005 08:51:14 +0000 (GMT) (envelope-from yuri@irfu.se) Received: from colibri.its.uu.se (colibri.its.UU.SE [130.238.4.154]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99EE843D55 for ; Mon, 24 Oct 2005 08:51:13 +0000 (GMT) (envelope-from yuri@irfu.se) Received: by colibri.its.uu.se (Postfix, from userid 211) id 0E421319; Mon, 24 Oct 2005 10:51:11 +0200 (DFT) Received: from colibri.its.uu.se(127.0.0.1) by colibri.its.uu.se via virus-scan id s14354; Mon, 24 Oct 05 10:50:57 +0200 Received: from hq.irfu.se (hq.irfu.se [130.238.30.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by colibri.its.uu.se (Postfix) with ESMTP id 6644E308; Mon, 24 Oct 2005 10:50:56 +0200 (DFT) Received: from ice.irfu.se (ice.irfu.se [130.238.30.157]) (authenticated bits=0) by hq.irfu.se (8.13.3/8.13.3) with ESMTP id j9O8otsJ071192 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Mon, 24 Oct 2005 10:50:55 +0200 (CEST) (envelope-from yuri@irfu.se) From: Yuri Khotyaintsev Organization: Swedish Institute of Space Physics To: freebsd-java@freebsd.org Date: Mon, 24 Oct 2005 10:50:54 +0200 User-Agent: KMail/1.8.2 References: <20051024002718.86127.qmail@web80801.mail.yahoo.com> <435C2DB1.5010106@gddsn.org.cn> In-Reply-To: <435C2DB1.5010106@gddsn.org.cn> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200510241050.54831.yuri@irfu.se> X-Spam-Status: No, score=-1.4 required=7.0 tests=ALL_TRUSTED autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on hq.irfu.se Cc: Huang wen hui 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 08:51:14 -0000 On Monday 24 October 2005 02.41, 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. As far as I remember, jdk14/i386 will not work on amd64. One should use lin= ux=20 jdk. Is linprocfs mounted? [root@hq][/home/yuri]# mount|grep linux linprocfs on /usr/compat/linux/proc (linprocfs, local) Can you run /usr/local/linux-sun-jdk1.4.2/bin/java -version ? =2D-=20 Yuri Khotyaintsev Institutet f=F6r rymdfysik (IRF), Uppsala