Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Apr 2004 10:40:45 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: java
Message-ID:  <20040411094045.GF70330@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <20040411070450.GA1143@grint.int.nln.ru>
References:  <407926CD.70708@farmerstel.com> <20040411000627.GA79303@grimoire.chen.org.nz> <20040411070450.GA1143@grint.int.nln.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

--gdTfX7fkYsEEjebm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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?
> >=20
> > 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

--=20
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

--gdTfX7fkYsEEjebm
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAeRKddtESqEQa7a0RAh/3AJ4pmf1DNgBOni8ZPmt4C4PIhnloKQCeLniS
5shIktxcZhM6NL4iX74fXCM=
=P5W6
-----END PGP SIGNATURE-----

--gdTfX7fkYsEEjebm--



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