Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Oct 2011 23:02:51 +0200
From:      "Ronald Klop" <ronald-freebsd8@klop.yi.org>
To:        freebsd-java@freebsd.org
Subject:   Re: Java on ARM processor?
Message-ID:  <op.v3xd21au8527sy@212-182-167-131.ip.telfort.nl>
In-Reply-To: <20111025145744.GA31136@misty.eyesbeyond.com>
References:  <op.v3vl2vpn8527sy@212-182-167-131.ip.telfort.nl> <20111025145744.GA31136@misty.eyesbeyond.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 25 Oct 2011 16:57:44 +0200, Greg Lewis <glewis@eyesbeyond.com> =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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.v3xd21au8527sy>