From owner-freebsd-sparc64@FreeBSD.ORG Tue Jan 12 00:18:47 2010 Return-Path: Delivered-To: freebsd-sparc64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 564991065694 for ; Tue, 12 Jan 2010 00:18:47 +0000 (UTC) (envelope-from craig001@lerwick.hopto.org) Received: from lerwick.hopto.org (81-178-20-70.dsl.pipex.com [81.178.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 969218FC1D for ; Tue, 12 Jan 2010 00:18:46 +0000 (UTC) Received: (qmail 6303 invoked by uid 98); 12 Jan 2010 00:24:08 +0000 Received: from 192.168.0.100 by polaris.lerwick.hopto.org (envelope-from , uid 82) with qmail-scanner-2.01 (clamdscan: 0.95.1/9971. hbedv: 7.9.1.53/7.1.6.174. spamassassin: 3.2.5. Clear:RC:1(192.168.0.100):. Processed in 3.504262 secs); 12 Jan 2010 00:24:08 -0000 Received: from unknown (HELO x60.lerwick.hopto.org) (192.168.0.100) by lerwick.hopto.org with SMTP; 12 Jan 2010 00:24:04 +0000 Message-ID: <4B4BBE73.2030601@lerwick.hopto.org> Date: Tue, 12 Jan 2010 00:12:35 +0000 From: Craig Butler User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.5) Gecko/20091221 Lightning/1.0b2pre Thunderbird/3.0 MIME-Version: 1.0 To: Greg Lewis References: <20091215073312.GA44797@misty.eyesbeyond.com> In-Reply-To: <20091215073312.GA44797@misty.eyesbeyond.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-sparc64@FreeBSD.org, freebsd-java@FreeBSD.org Subject: Re: Java on FreeBSD/sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2010 00:18:47 -0000 On 15/12/2009 07:33, Greg Lewis wrote: > It's slow and I'm not particularly confident of how well it works on SMP. > But if you're feeling adventurous and have FreeBSD/sparc64 8.0 and a yen > to use Java then you might be interested in trying it out. > > http://people.freebsd.org/~glewis/openjdk7-freebsd-8.0-sparc64.tar.gz > > Note that this isn't a package, its just a tarball based on the BSD port > of OpenJDK 7. > > If you were particuarly keen you could install Mercurial with the forest > extension, hg fclone http://hg.openjdk.java.net/bsd-port/bsd-port/ and > see if you could use it as a bootstrap to port HotSpot so it was faster. > > Sorry, I don't think I have the bandwidth to get this going on 7.x right > now. If you'd like to I can outline roughly what I did. > > There will eventually be an openjdk7 port that will make this easier. > > Greg Thank you very much, I can confirm this is working with the latest 8 stable as compiled earlier today. I had to install devel/libffi to satisfy a dependency for java executable. I unpacked the openjdk tarball into /usr/local and included the bin path into my PATH environmental variable. Simple hello world program compiles and runs... brilliant :*) java on sparc64 under freebsd, perfect Cheers Craig B