From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1EhCbX-0001K0-Uc for garchives@archives.gentoo.org; Tue, 29 Nov 2005 21:01:36 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jATL17nL018673; Tue, 29 Nov 2005 21:01:07 GMT Received: from grokinc.com (grokinc.com [65.19.160.27]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jATL14w1008991 for ; Tue, 29 Nov 2005 21:01:05 GMT Received: from 63.196.107.78 ([63.196.107.78]) by grokinc.com for ; Tue, 29 Nov 2005 13:01:00 -0800 Subject: Re: [gentoo-java] Question about Sun-Jdk 1.4.2.10 From: Greg Tassone To: gentoo-java@lists.gentoo.org Cc: Petteri =?ISO-8859-1?Q?R=E4ty?= In-Reply-To: <438C40A2.1060800@gentoo.org> References: <438B9A44.7010100@o2.pl> <1133255074.7706.7.camel@localhost> <438C40A2.1060800@gentoo.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-CZ03FQWTvojtE+LZ8DSc" Organization: Tassone Enterprises Date: Tue, 29 Nov 2005 13:01:08 -0800 Message-Id: <1133298068.8028.16.camel@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-java@gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 X-Archives-Salt: 83e1a030-13a1-4ada-83d9-323452897ac8 X-Archives-Hash: 689efdc76e0701fc600751a643d5026b --=-CZ03FQWTvojtE+LZ8DSc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, 2005-11-29 at 13:50 +0200, Petteri R=C3=A4ty wrote: > Greg Tassone wrote: > >=20 > > FYI: There is nothing "unstable" about JDK 1.5 (or Java 5). ... > It has simply > > been package-masked here at Gentoo because there have been some > > lingering ebuilds that didn't compile cleanly with it. Hopefully it is > > going to be unmasked VERY soon. > >=20 >=20 > It also by default produces class files that are not compatible with > earlier versions etc. ... > You can safely make 1.5 the user vm using java-config -s. But just be > sure you don't ever set it as the system vm. Very true. Just to clear up any confusion for others on the list, this means that if you are trying to run a 1.5 JDK as the primary on your system at the same time you have a 1.4 JDK running, the 1.4 JDK will be unable to use most of the code compiled from the 1.5 JDK (by default). Since most packages on the Gentoo distro compile themselves from source (Java included), having a 1.5 JDK as your *system VM* means that your Java applications would be compiled so that ONLY Java 5 (and higher) runtimes could use the applications. This is a show-stopper for those still running a 1.4 JDK (at least for non-developers, who should know how to deal with this stuff anyway): Choices: * Run only 1.5 or higher on your system (with no intention of ever going back down). Note that as of a while ago certain packages in the Portage tree still required 1.4, so this approach may preclude installing those packages from Portage. --OR-- * Take Petteri's advice and leave 1.4 as the system VM, and set your "user" VM to 1.5 (or higher) if desired. HTH to clarify... Greg --=-CZ03FQWTvojtE+LZ8DSc Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQBDjMGUaI3pdOrDO40RAizvAJ0cWAqgPEGpYuAyB3KRJyjlwYJpNACfTwBZ pUXlEaRNQbH7JDE0LzI2ebU= =xPYR -----END PGP SIGNATURE----- --=-CZ03FQWTvojtE+LZ8DSc-- -- gentoo-java@gentoo.org mailing list