From owner-freebsd-java@FreeBSD.ORG Sun Jun 26 04:24:12 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 408A716A41F; Sun, 26 Jun 2005 04:24:12 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFAED43D48; Sun, 26 Jun 2005 04:24:11 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id j5Q4NvuV049566; Sat, 25 Jun 2005 22:23:57 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id j5Q4Nue5049565; Sat, 25 Jun 2005 22:23:56 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Sat, 25 Jun 2005 22:23:56 -0600 From: Greg Lewis To: Neo Jia Message-ID: <20050626042355.GA41119@misty.eyesbeyond.com> References: <42BC8310.9040501@cse.unl.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42BC8310.9040501@cse.unl.edu> User-Agent: Mutt/1.4.2.1i Cc: freebsd-amd64@freebsd.org, freebsd-java@freebsd.org Subject: Re: How to build JDK15 on AMD64 with FreeBSD? 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: Sun, 26 Jun 2005 04:24:12 -0000 On Fri, Jun 24, 2005 at 05:02:56PM -0500, Neo Jia wrote: > These days, I tried to build the JDK15 on AMD64 with Fedora Core 3, but > failed. And I happened to find out that in these two mailing lists, > there were many people who had successfully built it with FreeBSD. I > hope I could get some detailed information about the building procedure. > Do you also use the source code from SUN SCSL or another version > maintained by FreeBSD.org? What is the requirement I should meet to > build it on FreeBSD, such as the version of FreeBSD? Do I still need GCC > 3.2.2? > > Sorry about so many questions at the first time. Your instructions will > be greatly appreciated! We use the Sun SCSL source code as the base for our port. However, many patches are required for it to build on FreeBSD. These are contained in a patchset that you can download at http://www.eyesbeyond.com/freebsddom/java/jdk15.html The easiest way to do this is simply to use the jdk15 port. Simply do the following: cd /usr/ports/java/jdk15 make install and follow the instructions. There is one caveat on amd64 -- one of the build commands will fail strangely (this is a bug in the Linux emulation on amd64 as far as I can determine). Simply execute that command by hand and restart the build. Also, if you have an EM64T rather than an actual amd64 then you will need one patch (just reply to me and I can send it to you or search the mailing list archives and you should find it). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org