From owner-freebsd-java@FreeBSD.ORG Tue Oct 25 14:57:47 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 D3CD2106566B for ; Tue, 25 Oct 2011 14:57:47 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id 98C958FC15 for ; Tue, 25 Oct 2011 14:57:47 +0000 (UTC) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.14.4/8.14.4) with ESMTP id p9PEvjjE031294; Tue, 25 Oct 2011 07:57:45 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.14.4/8.14.4/Submit) id p9PEvi1T031293; Tue, 25 Oct 2011 07:57:44 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 25 Oct 2011 07:57:44 -0700 From: Greg Lewis To: Ronald Klop Message-ID: <20111025145744.GA31136@misty.eyesbeyond.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-java@freebsd.org 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 14:57:47 -0000 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:30 > CEST 2011 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 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 there isn't an existing FreeBSD/arm binary of openjdk7 you'll need to work around that. There are a variety of ways you could tackle that. The most common is to set up an NFS mount with an i386 or amd64 machine and remotely execute all of the java bootstrap steps while the C/C++ compilation occurs locally. I can provide further information if you're interested. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org