From owner-freebsd-java@FreeBSD.ORG Tue Nov 11 20:06:36 2008 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 3BED71065677 for ; Tue, 11 Nov 2008 20:06:36 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id EABE48FC0C for ; Tue, 11 Nov 2008 20:06:35 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.14.3/8.14.3/NETPLEX) with ESMTP id mABJrgxo003283; Tue, 11 Nov 2008 14:53:42 -0500 (EST) X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.0 (mail.netplex.net [204.213.176.10]); Tue, 11 Nov 2008 14:53:42 -0500 (EST) Date: Tue, 11 Nov 2008 14:53:42 -0500 (EST) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Chuck Robey In-Reply-To: <4919D3E8.204@telenix.org> Message-ID: References: <4919D3E8.204@telenix.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-java@freebsd.org Subject: Re: starting off X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-java@freebsd.org List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2008 20:06:36 -0000 On Tue, 11 Nov 2008, Chuck Robey wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > after a layoff from the java language for about 10 years, I've decided to really > make my way back. When I was last active with Java, it was at 1.2, I guess > right now the stable is I want to use is 1.6 (JDK6?) I need a touch of advice > on now to go about doing this for my FreeBSD-current box. > > I've been running FreeBSD-current since way back in the FreeBSD-1.0 days, with > some breaks on my part due to health emergencies, and I still need to get the > Java JDK6 working. I also want to get the 3.4 version of eclipse working, along > with a couple of different plugins. I don't know if using a FreeBSD port is the > best idea froo eclipse, and I guess I need that info for the JDK6 too. > > You see, it *looks* like the latest JDK6 which is native is named "Diablo", but > I can't find any description on the web for what the Diablo means. Also, the > name of the tarball has "freebsd7" in it, so I need to know both what the Diablo > means, and also if that "freebsd7" means it won't build for FreeBSD-current. > > You see, I have the option of grabbing the Sun JDK6, the Linux-i386 binary, if I > find that I can't build the Diablo either because of what that "Diablo" means, > or because of what the FreeBSD7 means (if it's going to build on -current). > > Please, could you give me some info on that? I don't need a dissertation on > what Java is, but I do need those 2 questions addressed, and thanks for your time. Follow the link in diablo-jdk16/pkg-descr; it explains it all. Diablo-jdk16 is a pre-built binary distribution that has gone through all of Sun's requirements for releasing a binary. The FreeBSD Foundation funds this activity. Binaries for 6 and 7 will run on -current as long as you have compatibility packages installed (compat6x) and enabled in the kernel (COMPAT_FREEBSD6, COMPAT_FREEBSD7). You may also need to use libmap.conf to map libpthread to libthr. jdk16 (non-diablo) is built from Sun's sources. You (the builder) have to download the source and patch files yourself and plop them into the correct place (DISTDIR, usually /usr/ports/distfiles). The build process can take some time, but from my experience jdk16 builds much faster than jdk15. Still, it may take many hours depending on your hardware. I do not use the diablo port - I use the jdk built from sources, but I have not built it in a few months, and only for 32-bit i386. -- DE