Date: Sat, 25 Jun 2005 22:23:56 -0600 From: Greg Lewis <glewis@eyesbeyond.com> To: Neo Jia <cjia@cse.unl.edu> Cc: freebsd-amd64@freebsd.org, freebsd-java@freebsd.org Subject: Re: How to build JDK15 on AMD64 with FreeBSD? Message-ID: <20050626042355.GA41119@misty.eyesbeyond.com> In-Reply-To: <42BC8310.9040501@cse.unl.edu> References: <42BC8310.9040501@cse.unl.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050626042355.GA41119>