From owner-freebsd-java@FreeBSD.ORG Tue Oct 25 21:02:57 2011 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 107BB106566C for ; Tue, 25 Oct 2011 21:02:57 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smtp-out1.tiscali.nl (smtp-out1.tiscali.nl [195.241.79.176]) by mx1.freebsd.org (Postfix) with ESMTP id C7CC38FC0C for ; Tue, 25 Oct 2011 21:02:56 +0000 (UTC) Received: from [212.182.167.131] (helo=sjakie.klop.ws) by smtp-out1.tiscali.nl with esmtp (Exim) (envelope-from ) id 1RIo99-0007uE-MW for freebsd-java@freebsd.org; Tue, 25 Oct 2011 23:02:55 +0200 Received: from 212-182-167-131.ip.telfort.nl (localhost [127.0.0.1]) by sjakie.klop.ws (Postfix) with ESMTP id AD7CE5E57 for ; Tue, 25 Oct 2011 23:02:52 +0200 (CEST) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: freebsd-java@freebsd.org References: <20111025145744.GA31136@misty.eyesbeyond.com> Date: Tue, 25 Oct 2011 23:02:51 +0200 MIME-Version: 1.0 From: "Ronald Klop" Message-ID: In-Reply-To: <20111025145744.GA31136@misty.eyesbeyond.com> User-Agent: Opera Mail/11.51 (FreeBSD) Content-Transfer-Encoding: quoted-printable Subject: Re: Java on ARM processor? 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: Tue, 25 Oct 2011 21:02:57 -0000 On Tue, 25 Oct 2011 16:57:44 +0200, Greg Lewis =20 wrote: > On Tue, Oct 25, 2011 at 12:00:21AM +0200, Ronald Klop wrote: >> Hi, >> >> My Sheevaplug is now running FreeBSD 9.0-RC1. >> # uname -a >> FreeBSD sheeva1.klop.ws 9.0-RC1 FreeBSD 9.0-RC1 #7: Tue Oct 18 00:57:3= 0 >> CEST 2011 =20 >> root@sjakie.klop.ws:/usr/obj/arm.arm/usr/src/sys/SHEEVAPLUG >> arm >> >> Is there any chance of running Java on this machine? The openjdk6 and = 7 >> ports say they are only for i386/amd64. >> Does freebsd have a Zero/Shark port of the hotspot? > > It does, but it is likely in need of a little love as I don't think =20 > anyone > has tried it out for a while. I'd suggest pulling directly from the > bsd-port repo for OpenJDK7 and trying that. > > As always, the biggest problem is going to be bootstrapping. Since the= re > isn't an existing FreeBSD/arm binary of openjdk7 you'll need to work =20 > around > that. There are a variety of ways you could tackle that. The most =20 > common > is to set up an NFS mount with an i386 or amd64 machine and remotely =20 > execute > all of the java bootstrap steps while the C/C++ compilation occurs =20 > locally. > I can provide further information if you're interested. > Yes, please. I currently have: - a mercurial checkout of bsd-port in /data/openjdk7/bsd-port - cups-client from ports in /usr/local - freetype2 from ports in /usr/local - manually extracted apache-ant in /data/openjdk7/apache-ant-1.8.2 I have the same on amd64 as on arm. On amd64 I can build with =20 ALT_BOOTDIR=3D/usr/local/openjdk6. Ronald.