java

Matthew Seaman m.seaman at infracaninophile.co.uk
Sun Apr 11 02:40:50 PDT 2004


On Sun, Apr 11, 2004 at 11:04:51AM +0400, Ruslan N. Gogunsci wrote:
> On Sun, Apr 11, 2004 at 12:06:27PM +1200, Jonathan Chen wrote:
> > On Sun, Apr 11, 2004 at 06:06:53AM -0500, nathan owens wrote:
> > > Should i get 4.9 or 5.2.1 if i want java?
> > 
> > Java 1.4 is officially supported on 4.9, but it should work on 5.2.1
> > with a couple of tweaks.
> I use Java 1.4 on 5.2.1 without problems, but I use it for simple programs
> and didn't try for biggest programs.

Actually, you need Java 1.4 or above on 5.2.1 -- recent testing via
the package building system on bento has turned up some errors when
trying to use java 1.3.1 under 5.x, and they're going to move to 1.4.2
as the default JDK.  Certainly the pre-compiled JDK 1.3.1 or JRE 1.3.1
packages from the FreeBSD Foundation won't work properly on 5.x.

If you decide to go with Java 1.4.2 (on either 4.x or 5.x) be aware
that you're going to have to jump through hoops in order to download
the java sources and the FreeBSD patchsets (all in order to comply
with the terms of the Sun Community Source License) and then you're
going to have to compile the whole JDK yourself.  Doing that via the
ports is simple enough, but it takes a lot of time and system
resources.  Also you need to temporarily install one of the Linux JDK
1.4.x packages to bootstrap the compilation process.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040411/3d65b188/attachment.bin


More information about the freebsd-questions mailing list