Gentoo Archives: gentoo-java

From: "Peter B. West" <lists@××××××.au>
To: gentoo-java@l.g.o
Subject: Re: [gentoo-java] Question about Sun-Jdk 1.4.2.10
Date: Tue, 29 Nov 2005 23:58:44
Message-Id: 438CEAF1.1090402@pbw.id.au
1 Greg Tassone wrote:
2 > On Tue, 2005-11-29 at 13:50 +0200, Petteri Räty wrote:
3 >
4 >>Greg Tassone wrote:
5 >>
6 >>>FYI: There is nothing "unstable" about JDK 1.5 (or Java 5).
7 >
8 > ...
9 >
10 >> It has simply
11 >>
12 >>>been package-masked here at Gentoo because there have been some
13 >>>lingering ebuilds that didn't compile cleanly with it. Hopefully it is
14 >>>going to be unmasked VERY soon.
15 >>>
16 >>
17 >>It also by default produces class files that are not compatible with
18 >>earlier versions etc.
19 >
20 > ...
21 >
22 >>You can safely make 1.5 the user vm using java-config -s. But just be
23 >>sure you don't ever set it as the system vm.
24 >
25 >
26 > Very true. Just to clear up any confusion for others on the list, this
27 > means that if you are trying to run a 1.5 JDK as the primary on your
28 > system at the same time you have a 1.4 JDK running, the 1.4 JDK will be
29 > unable to use most of the code compiled from the 1.5 JDK (by default).
30 >
31 > Since most packages on the Gentoo distro compile themselves from source
32 > (Java included), having a 1.5 JDK as your *system VM* means that your
33 > Java applications would be compiled so that ONLY Java 5 (and higher)
34 > runtimes could use the applications. This is a show-stopper for those
35 > still running a 1.4 JDK (at least for non-developers, who should know
36 > how to deal with this stuff anyway):
37 >
38 > Choices:
39 >
40 > * Run only 1.5 or higher on your system (with no intention of ever
41 > going back down). Note that as of a while ago certain packages
42 > in the Portage tree still required 1.4, so this approach may
43 > preclude installing those packages from Portage.
44 > --OR--
45 > * Take Petteri's advice and leave 1.4 as the system VM, and set
46 > your "user" VM to 1.5 (or higher) if desired.
47 >
48 > HTH to clarify...
49 >
50 > Greg
51
52 So who wants to run a 1.4 JDK? And what, exactly, prevents anything
53 from being compiled under 1.5? The only thing I can think of is the
54 user of the newly reserved word 'enum'. Big deal. How long has 1.5
55 been around now?
56
57 My perception is that there is only an ideological impediment to going
58 with 1.5. That is that it will be a long time before the
59 Stallman-approved JVMs support 1.5. So, the Java herd on Gentoo Stalls
60 the adoption of 1.5, just to "prove" that 1) you don't need it, and 2)
61 it's a very bad thing. Or at least it will be until the "free as in
62 slaves to ideology" crowd get their act together. Thanks for nothing.
63
64 Peter
65 --
66 Peter B. West <http://cv.pbw.id.au/>
67 Folio <http://defoe.sourceforge.net/folio/>

Attachments

File name MIME type
smime.p7s application/x-pkcs7-signature

Replies

Subject Author
Re: [gentoo-java] Question about Sun-Jdk 1.4.2.10 Antony Riley <cyberiantiger@×××××.com>
Re: [gentoo-java] Question about Sun-Jdk 1.4.2.10 Joshua Nichols <nichoj@g.o>