Gentoo Archives: gentoo-dev

From: Todd Berman <tberman@g.o>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] JRE support - is it worth it?
Date: Tue, 20 May 2003 18:24:14
Message-Id: 1053454959.16448.8.camel@devweb
In Reply to: Re: [gentoo-dev] JRE support - is it worth it? by Chris Davies
1 Just as a side note, there is ABSOLUTELY reason to compile java packages
2 from source.
3
4 In many ebuilds that I write and commit to the tree, I use the jikes and
5 debug USE variables to customize the build. So there seem to be at least
6 5 different 'machine independent' bytecode possibilities. (At least last
7 time i looked jikes-generated code was not exactly the same as blackdown
8 generated code).
9
10 Now, this email isnt either in favor or against removing the JRE, just
11 giving some additional information.
12
13 --Todd
14
15 On Tue, 2003-05-20 at 12:32, Chris Davies wrote:
16 > Hi,
17 >
18 > I for one do not wish to see JRE support dropped from gentoo, and have a number of reasons why.
19 >
20 > Having installed gentoo over 56K modems a number of times, I would have found it immensely frustrating had I had to install a JDK just to get Java support in mozilla and it's derivatives. We are talking 5+ hours for a JDK, compared to only 2 for a JRE. Now I have broadband, it is easy to overlook those people who can't get fast connectivity, but I don't think they should be neglected merely for the sake of simplifying a supporting script. The majority, I suspect, only have any Java product on their machine to get the java plugin.
21 >
22 > Secondly, there is simply no advantage to compiling java applications on the system in question. It is a complete waste of time. Java compiles into machine independant bytecode. The same Java code compiled by the same compiler on two different architectures should produce exactly the same result. So unless you plan to offer gcj as an alternative compilation tool, compiling from source is utter waste of the user's time. It is dogmatic in the extreme to suggest that because we compile programs that generate machine dependant object code on the system itself, all programs on the system should be compiled. Compilation is a means to an end, that end being object code that is more efficient than offered by binary distributions. In cases where the build process is long or difficult, often binaries are offered (openoffice-bin and phoenix-bin spring to mind), so saying this is a source distribution is false. I firmly beleive Java packages should be offered as binary until gcj is fit to compile them, and that one or other of the JREs should be the default Java environment.
23 >
24 > It is true that some packages do require a JDK, like Tomcat, but I can't see that as being a reason that all Java packages must require a JDK. It should be pointed out that Tomcat is distributed as a binary, so the JDK is only a runtime dependancy. Why inflict the JDK on users who neither want or need it?
25 >
26 > Well, thats my rant of the day over with :)
27 >
28 > Thanks,
29 > C.Davies
30
31
32
33 --
34 gentoo-dev@g.o mailing list