* Re: [gentoo-java] Question about Sun-Jdk 1.4.2.10
@ 2005-11-29 23:57 Peter B. West
2005-11-30 0:31 ` Antony Riley
2005-11-30 1:12 ` Joshua Nichols
0 siblings, 2 replies; 18+ messages in thread
From: Peter B. West @ 2005-11-29 23:57 UTC (permalink / raw
To: gentoo-java
[-- Attachment #1: Type: text/plain, Size: 2511 bytes --]
Greg Tassone wrote:
> On Tue, 2005-11-29 at 13:50 +0200, Petteri Räty wrote:
>
>>Greg Tassone wrote:
>>
>>>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.
>>>
>>
>>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
So who wants to run a 1.4 JDK? And what, exactly, prevents anything
from being compiled under 1.5? The only thing I can think of is the
user of the newly reserved word 'enum'. Big deal. How long has 1.5
been around now?
My perception is that there is only an ideological impediment to going
with 1.5. That is that it will be a long time before the
Stallman-approved JVMs support 1.5. So, the Java herd on Gentoo Stalls
the adoption of 1.5, just to "prove" that 1) you don't need it, and 2)
it's a very bad thing. Or at least it will be until the "free as in
slaves to ideology" crowd get their act together. Thanks for nothing.
Peter
--
Peter B. West <http://cv.pbw.id.au/>
Folio <http://defoe.sourceforge.net/folio/>
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3232 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-java] Question about Sun-Jdk 1.4.2.10 2005-11-29 23:57 [gentoo-java] Question about Sun-Jdk 1.4.2.10 Peter B. West @ 2005-11-30 0:31 ` Antony Riley 2005-11-30 1:12 ` Joshua Nichols 1 sibling, 0 replies; 18+ messages in thread From: Antony Riley @ 2005-11-30 0:31 UTC (permalink / raw To: gentoo-java [-- Attachment #1: Type: text/plain, Size: 3798 bytes --] There's a whole bunch of subtleties. Just unmerge all your java packages, and try to re-emerge them with a 1.5system JVM. New keywords. Some packages build scripts use -source 1.1 -source 1.1 which the 1.5 javac doesn't seem to support anymore. [goes as low as 1.2 now] I'm sure there's more. The "not backwards compatable to 1.5" is a bit of an error as many packages seem to specify -source and -target in their build scripts. I couldn't even get ant to build, which is fairly important for most java packages. I was thinking if you just patched ant to default the <javac> task to -source 1.4 -target 1.5, you could probably get a mostly working system, but the packages which set these explicitely would still be a problem, also it may be a problem with 1.5 only packages that don't specify these [unless you want to go around patching lots of build scripts] I haven't looked at the experiement java stuff yet, might take a gander sometime, so appologies if I'm saying stuff that's already been said. On 11/29/05, Peter B. West <lists@pbw.id.au> wrote: > > Greg Tassone wrote: > > On Tue, 2005-11-29 at 13:50 +0200, Petteri Räty wrote: > > > >>Greg Tassone wrote: > >> > >>>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. > >>> > >> > >>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 > > So who wants to run a 1.4 JDK? And what, exactly, prevents anything > from being compiled under 1.5? The only thing I can think of is the > user of the newly reserved word 'enum'. Big deal. How long has 1.5 > been around now? > > My perception is that there is only an ideological impediment to going > with 1.5. That is that it will be a long time before the > Stallman-approved JVMs support 1.5. So, the Java herd on Gentoo Stalls > the adoption of 1.5, just to "prove" that 1) you don't need it, and 2) > it's a very bad thing. Or at least it will be until the "free as in > slaves to ideology" crowd get their act together. Thanks for nothing. > > Peter > -- > Peter B. West <http://cv.pbw.id.au/> > Folio <http://defoe.sourceforge.net/folio/> > > > [-- Attachment #2: Type: text/html, Size: 4877 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-java] Question about Sun-Jdk 1.4.2.10 2005-11-29 23:57 [gentoo-java] Question about Sun-Jdk 1.4.2.10 Peter B. West 2005-11-30 0:31 ` Antony Riley @ 2005-11-30 1:12 ` Joshua Nichols 2005-11-30 22:39 ` Peter B. West 1 sibling, 1 reply; 18+ messages in thread From: Joshua Nichols @ 2005-11-30 1:12 UTC (permalink / raw To: Peter B. West; +Cc: gentoo-java > So who wants to run a 1.4 JDK? And what, exactly, prevents anything > from being compiled under 1.5? The only thing I can think of is the > user of the newly reserved word 'enum'. Big deal. How long has 1.5 > been around now? Have you actually tried using a 1.5 JDK to emerge your system? I'm guessing not, because xerces, xalan, and dom4j won't compile with 1.5, and they are pretty critical XML libraries that lots of things use. Actually, there are a number of incompatibilities: http://java.sun.com/j2se/1.5.0/compatibility.html#incompatibilities > My perception is that there is only an ideological impediment to going > with 1.5. That is that it will be a long time before the > Stallman-approved JVMs support 1.5. So, the Java herd on Gentoo Stalls > the adoption of 1.5, just to "prove" that 1) you don't need it, and 2) > it's a very bad thing. Or at least it will be until the "free as in > slaves to ideology" crowd get their act together. Thanks for nothing. Somehow, I must have missed the conspiracy memo.... Seriously though, where the heck did this come from? I think you're seriously overestimating the manpower working on Java support for Gentoo. There are now 10 developers (I'm a recent addition), with 3 currently on leave. Of those 7, most of them have some sort of life outside of Gentoo. With some 300+ packages to maintain with some 200 outstanding bugs, there isn't a lot of time/effort remaining for new and exciting stuff. Plus, it's not like there hasn't been work towards 1.5 support. See the 1.5 metabug: http://bugs.gentoo.org/show_bug.cgi?id=65937 Additionally, Thomas (axxo) has been working on an overlay for the past six months or so to support 1.5, as was previously announced (http://article.gmane.org/gmane.linux.gentoo.java/605). He must not have gotten the memo either. So how can one help with supporting 1.5? Testing and provididing feedback on axxo-overlay would be the most useful. There are some details on http://www.gentoo.org/proj/en/java/ but I hope to add more details sometime this evening. Regards, Josh -- gentoo-java@gentoo.org mailing list ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-java] Question about Sun-Jdk 1.4.2.10 2005-11-30 1:12 ` Joshua Nichols @ 2005-11-30 22:39 ` Peter B. West 2005-11-30 23:09 ` Greg Tassone 0 siblings, 1 reply; 18+ messages in thread From: Peter B. West @ 2005-11-30 22:39 UTC (permalink / raw Cc: gentoo-java [-- Attachment #1: Type: text/plain, Size: 3264 bytes --] Joshua Nichols wrote: >>So who wants to run a 1.4 JDK? And what, exactly, prevents anything >>from being compiled under 1.5? The only thing I can think of is the >>user of the newly reserved word 'enum'. Big deal. How long has 1.5 >>been around now? > > Have you actually tried using a 1.5 JDK to emerge your system? I'm > guessing not, because xerces, xalan, and dom4j won't compile with 1.5, > and they are pretty critical XML libraries that lots of things use. > See my response to the "ant won't compile" message. Same story, at least partially. Download sources for Xerces-J. Read README, which tells me I need the tools. Download the tools. Extract "in the same directory." What does that mean? Read build.sh. Ah, tools is in the Xerces directory. Do that. Run sh build.sh jars. Result: BUILD SUCCESSFUL Total time: 13 seconds Do I really have to do this with Xalan as well? Java 5 ships with xerces as its parser, in place of crimson. That's in the incompatibility notes. It ships with xalan, and defaults to using xsltc. Also in the incompatibility notes. (And xalan 2.7.0 has one reported bug that I know of that causes problems with netbeans 5.0). The simple fact is that I can pick up any of the binaries and they will almost certainly run without problems. There are a handful of obscure binary-level incompatibilities, but the only problem I have encountered is the netbeans bug I mentioned; not an incompatibility. Peter > Actually, there are a number of incompatibilities: > http://java.sun.com/j2se/1.5.0/compatibility.html#incompatibilities > > > >>My perception is that there is only an ideological impediment to going >>with 1.5. That is that it will be a long time before the >>Stallman-approved JVMs support 1.5. So, the Java herd on Gentoo Stalls >>the adoption of 1.5, just to "prove" that 1) you don't need it, and 2) >>it's a very bad thing. Or at least it will be until the "free as in >>slaves to ideology" crowd get their act together. Thanks for nothing. > > > Somehow, I must have missed the conspiracy memo.... Seriously though, > where the heck did this come from? > > I think you're seriously overestimating the manpower working on Java > support for Gentoo. There are now 10 developers (I'm a recent addition), > with 3 currently on leave. Of those 7, most of them have some sort of > life outside of Gentoo. With some 300+ packages to maintain with some > 200 outstanding bugs, there isn't a lot of time/effort remaining for new > and exciting stuff. > > Plus, it's not like there hasn't been work towards 1.5 support. See the > 1.5 metabug: http://bugs.gentoo.org/show_bug.cgi?id=65937 > Additionally, Thomas (axxo) has been working on an overlay for the past > six months or so to support 1.5, as was previously announced > (http://article.gmane.org/gmane.linux.gentoo.java/605). He must not have > gotten the memo either. > > > > > So how can one help with supporting 1.5? Testing and provididing > feedback on axxo-overlay would be the most useful. There are some > details on http://www.gentoo.org/proj/en/java/ but I hope to add more > details sometime this evening. > > Regards, > Josh -- Peter B. West <http://cv.pbw.id.au/> Folio <http://defoe.sourceforge.net/folio/> [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/x-pkcs7-signature, Size: 3232 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-java] Question about Sun-Jdk 1.4.2.10 2005-11-30 22:39 ` Peter B. West @ 2005-11-30 23:09 ` Greg Tassone 2005-12-03 8:23 ` Peter B. West 0 siblings, 1 reply; 18+ messages in thread From: Greg Tassone @ 2005-11-30 23:09 UTC (permalink / raw To: gentoo-java [-- Attachment #1: Type: text/plain, Size: 2231 bytes --] On Wed, 2005-11-30 at 22:39 +0000, Peter B. West wrote: > Joshua Nichols wrote: > >>So who wants to run a 1.4 JDK? And what, exactly, prevents anything > >>from being compiled under 1.5? The only thing I can think of is the > >>user of the newly reserved word 'enum'. Big deal. How long has 1.5 > >>been around now? > > > > Have you actually tried using a 1.5 JDK to emerge your system? I'm > > guessing not, because xerces, xalan, and dom4j won't compile with 1.5, > > and they are pretty critical XML libraries that lots of things use. > > > > See my response to the "ant won't compile" message. Same story, at > least partially. > > Download sources for Xerces-J. Read README, which tells me I need the > tools. Download the tools. Extract "in the same directory." What does > that mean? Read build.sh. Ah, tools is in the Xerces directory. Do that. > Run sh build.sh jars. Result: > > BUILD SUCCESSFUL > Total time: 13 seconds > > Do I really have to do this with Xalan as well? Java 5 ships with > xerces as its parser, in place of crimson. That's in the incompatibility > notes. It ships with xalan, and defaults to using xsltc. Also in the > incompatibility notes. (And xalan 2.7.0 has one reported bug that I > know of that causes problems with netbeans 5.0). > > The simple fact is that I can pick up any of the binaries and they will > almost certainly run without problems. There are a handful of obscure > binary-level incompatibilities, but the only problem I have encountered > is the netbeans bug I mentioned; not an incompatibility. > > Peter I think you're missing one of the main points here... he did NOT say that they would not compile at all -- he said they would not compile on the current Gentoo ebuild base (e.g., "... using a 1.5 JDK to emerge your system"). Then, did you see the rest of his message, the part talking about the 1.5 overlay that is being worked on? The main point of the overlay is to get these "incompatibilities" resolved. Then the "fixed" ebuilds from the overlay can become mainstream in Portage. This stuff takes time, especially when system-level stability issues stand in the balance. Greg [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-java] Question about Sun-Jdk 1.4.2.10 2005-11-30 23:09 ` Greg Tassone @ 2005-12-03 8:23 ` Peter B. West 2005-12-03 9:45 ` Petteri Räty 2005-12-07 20:56 ` Java 1.5 - the Real Story [was: Re: [gentoo-java] Question about Sun-Jdk 1.4.2.10] Karl Trygve Kalleberg 0 siblings, 2 replies; 18+ messages in thread From: Peter B. West @ 2005-12-03 8:23 UTC (permalink / raw Cc: gentoo-java [-- Attachment #1: Type: text/plain, Size: 3948 bytes --] Greg Tassone wrote: > On Wed, 2005-11-30 at 22:39 +0000, Peter B. West wrote: > >>Joshua Nichols wrote: >> >>>>So who wants to run a 1.4 JDK? And what, exactly, prevents anything >>> >>>>from being compiled under 1.5? The only thing I can think of is the >>> >>>>user of the newly reserved word 'enum'. Big deal. How long has 1.5 >>>>been around now? >>> >>>Have you actually tried using a 1.5 JDK to emerge your system? I'm >>>guessing not, because xerces, xalan, and dom4j won't compile with 1.5, >>>and they are pretty critical XML libraries that lots of things use. >>> >> >>See my response to the "ant won't compile" message. Same story, at >>least partially. >> >>Download sources for Xerces-J. Read README, which tells me I need the >>tools. Download the tools. Extract "in the same directory." What does >>that mean? Read build.sh. Ah, tools is in the Xerces directory. Do that. >> Run sh build.sh jars. Result: >> >>BUILD SUCCESSFUL >>Total time: 13 seconds >> >>Do I really have to do this with Xalan as well? Java 5 ships with >>xerces as its parser, in place of crimson. That's in the incompatibility >>notes. It ships with xalan, and defaults to using xsltc. Also in the >>incompatibility notes. (And xalan 2.7.0 has one reported bug that I >>know of that causes problems with netbeans 5.0). >> >>The simple fact is that I can pick up any of the binaries and they will >>almost certainly run without problems. There are a handful of obscure >>binary-level incompatibilities, but the only problem I have encountered >>is the netbeans bug I mentioned; not an incompatibility. >> >>Peter > > > > I think you're missing one of the main points here... he did NOT say > that they would not compile at all -- he said they would not compile on > the current Gentoo ebuild base (e.g., "... using a 1.5 JDK to emerge > your system"). > > Then, did you see the rest of his message, the part talking about the > 1.5 overlay that is being worked on? The main point of the overlay is > to get these "incompatibilities" resolved. Then the "fixed" ebuilds > from the overlay can become mainstream in Portage. > > This stuff takes time, especially when system-level stability issues > stand in the balance. I think you're missing my point. Java 5 works, and is, for practical purposes, forward compatible with 1,4, with the exception of 'enum'. If that is so, why not a flag 'java5', that triggers source source 1.4 on packages that need it? The system JVM is 5, and Bob's your uncle. What's the system-level stability issue? This is not a technical issue, it's an ideological issue, as I said before. This is, in fact, quite explicit in the Gentoo documentation. I suggest that subscribers to the "conspiracy-theory-theory" (I never used the word) read the "Gentoo social contract" <http://www.gentoo.org/main/en/contract.xml>, including the definition of "free software" <http://www.fsf.org/licensing/essays/free-sw.html>. I suggest, further, that the Gentoo folks in this forum come clean about this when asked in good faith about using Java 5 on Gentoo. The answer is along these lines: Java 5 will not be supported on Gentoo until a 1.5 JVM is available under a Stallman-approved licence. The genuine options for J5 users are to scrap the Gentoo Java support and maintain your own Java environment, or to abandon Gentoo. I see that there is yet another enquiry on the list about using J5. Do that user a favour and tell him why he can't get a supported J5 environment on Gentoo, so that he can then make informed decisions. If you guys are embarrassed by the Gentoo ideology, change it or leave. If not, present it honestly, instead of spouting this deliberately misleading BS about system stability issues. It's leaving users with the impression that J5 is unstable, which it patently is not. Peter -- Peter B. West <http://cv.pbw.id.au/> Folio <http://defoe.sourceforge.net/folio/> [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/x-pkcs7-signature, Size: 3232 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-java] Question about Sun-Jdk 1.4.2.10 2005-12-03 8:23 ` Peter B. West @ 2005-12-03 9:45 ` Petteri Räty 2005-12-07 20:56 ` Java 1.5 - the Real Story [was: Re: [gentoo-java] Question about Sun-Jdk 1.4.2.10] Karl Trygve Kalleberg 1 sibling, 0 replies; 18+ messages in thread From: Petteri Räty @ 2005-12-03 9:45 UTC (permalink / raw To: Peter B. West; +Cc: gentoo-java [-- Attachment #1: Type: text/plain, Size: 2053 bytes --] Peter B. West wrote: > > > I think you're missing my point. Java 5 works, and is, for practical > purposes, forward compatible with 1,4, with the exception of 'enum'. If > that is so, why not a flag 'java5', that triggers source source 1.4 on > packages that need it? The system JVM is 5, and Bob's your uncle. > What's the system-level stability issue? > Java 5 is *not* API compatible with 1.4. We already have an overlay for using 1.5: http://dev.gentoo.org/~betelgeuse/axxo-overlay As far as stability goes, I think 1.5 is more stable than 1.4 as far as for example applets go. > > This is not a technical issue, it's an ideological issue, as I said > before. This is, in fact, quite explicit in the Gentoo documentation. I > suggest that subscribers to the "conspiracy-theory-theory" (I never used > the word) read the "Gentoo social contract" > <http://www.gentoo.org/main/en/contract.xml>, including the definition > of "free software" <http://www.fsf.org/licensing/essays/free-sw.html>. > > I suggest, further, that the Gentoo folks in this forum come clean about > this when asked in good faith about using Java 5 on Gentoo. The answer > is along these lines: Java 5 will not be supported on Gentoo until a 1.5 > JVM is available under a Stallman-approved licence. The genuine options > for J5 users are to scrap the Gentoo Java support and maintain your own > Java environment, or to abandon Gentoo. > > I see that there is yet another enquiry on the list about using J5. Do > that user a favour and tell him why he can't get a supported J5 > environment on Gentoo, so that he can then make informed decisions. If > you guys are embarrassed by the Gentoo ideology, change it or leave. If > not, present it honestly, instead of spouting this deliberately > misleading BS about system stability issues. It's leaving users with > the impression that J5 is unstable, which it patently is not. > > Peter We already have a Java 5 environment for which you will get support from us: It is called the axxo-overlay. Regards, Petteri [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 256 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* Java 1.5 - the Real Story [was: Re: [gentoo-java] Question about Sun-Jdk 1.4.2.10] 2005-12-03 8:23 ` Peter B. West 2005-12-03 9:45 ` Petteri Räty @ 2005-12-07 20:56 ` Karl Trygve Kalleberg 2005-12-08 0:08 ` John Manko 1 sibling, 1 reply; 18+ messages in thread From: Karl Trygve Kalleberg @ 2005-12-07 20:56 UTC (permalink / raw To: Peter B. West; +Cc: gentoo-java Peter B. West wrote: I had hoped this discussion died down by itself, since it has no merit whatsoever. I guess for confuzzled readers, it's time I made something of an "official" statement on the 1.5 issue on behalf of the Java team. > I think you're missing my point. Java 5 works, and is, for practical > purposes, forward compatible with 1,4, with the exception of 'enum'. If > that is so, why not a flag 'java5', that triggers source source 1.4 on > packages that need it? The system JVM is 5, and Bob's your uncle. > What's the system-level stability issue? This issue has been adressed multiple times before, so I won't go into why Java 1.5 is not a drop-in replacement to for 1.4 in the Gentoo package system. > This is not a technical issue, it's an ideological issue, as I said > before. It may be an ideological issue to you, but you are not on the Gentoo Java developer team. I am. I can speak for the Java developer team, and state once and for all that the only reason why Java 1.5 is not unmasked, is because of technical issues that we are still working on. > This is, in fact, quite explicit in the Gentoo documentation. I > suggest that subscribers to the "conspiracy-theory-theory" (I never used > the word) read the "Gentoo social contract" > <http://www.gentoo.org/main/en/contract.xml>, including the definition > of "free software" <http://www.fsf.org/licensing/essays/free-sw.html>. > > I suggest, further, that the Gentoo folks in this forum come clean about > this when asked in good faith about using Java 5 on Gentoo. The answer > is along these lines: Java 5 will not be supported on Gentoo until a 1.5 > JVM is available under a Stallman-approved licence. Again, as the lead of the Java team, I'll simply state that this is untrue. I should think that we, the developers, have a good idea of our reasons for not putting it in yet. If you hear reasons not coming from us that differ from our stated opinions, it is safe to assume they are invalid. > The genuine options for J5 users are to scrap the Gentoo Java support and > maintain your own Java environment, or to abandon Gentoo. This is known as a "false dichotomy", and is usually used as a bogus rhetorical trick to incite flamewars. In reality, there are many more choices: (3) Use the Axxo overlay (4) Use the Java 1.5 JRE, but not the JDK (5) Help us solve the remaining technical issues I have a hard time seeing how you could have missed these three. > I see that there is yet another enquiry on the list about using J5. Do > that user a favour and tell him why he can't get a supported J5 > environment on Gentoo, so that he can then make informed decisions. If > you guys are embarrassed by the Gentoo ideology, change it or leave. If > not, present it honestly, instead of spouting this deliberately > misleading BS about system stability issues. It's leaving users with > the impression that J5 is unstable, which it patently is not. This is a comment worthy of debian-legal;P Seriously, though, I'd like to reiterate: The problem comes down to manpower, not ideology. Instead of spending your and my time on writing mails on this topic, please help us solve the technical issues. The Gentoo community, as any other open-source community, is dependent on help, input and constructive criticism from our users. Cheers, -- Karl T -- gentoo-java@gentoo.org mailing list ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Java 1.5 - the Real Story [was: Re: [gentoo-java] Question about Sun-Jdk 1.4.2.10] 2005-12-07 20:56 ` Java 1.5 - the Real Story [was: Re: [gentoo-java] Question about Sun-Jdk 1.4.2.10] Karl Trygve Kalleberg @ 2005-12-08 0:08 ` John Manko 0 siblings, 0 replies; 18+ messages in thread From: John Manko @ 2005-12-08 0:08 UTC (permalink / raw Cc: gentoo-java > > The genuine options for J5 users are to scrap the Gentoo Java > support and > > maintain your own Java environment, or to abandon Gentoo. > > (5) Help us solve the remaining technical issues > >> I see that there is yet another enquiry on the list about using J5. >> Do that user a favour and tell him why he can't get a supported J5 >> environment on Gentoo, so that he can then make informed decisions. >> If you guys are embarrassed by the Gentoo ideology, change it or >> leave. If not, present it honestly, instead of spouting this >> deliberately misleading BS about system stability issues. It's >> leaving users with the impression that J5 is unstable, which it >> patently is not. > > Instead of spending your and my time on writing mails on this topic, > please help us solve the technical issues. The Gentoo community, as > any other open-source community, is dependent on help, input and > constructive criticism from our users. > I'd love to help. -- gentoo-java@gentoo.org mailing list ^ permalink raw reply [flat|nested] 18+ messages in thread
* [gentoo-java] Question about Sun-Jdk 1.4.2.10 @ 2005-11-29 0:01 Tomasz Buchert 2005-11-28 23:26 ` Eddy Mulyono 2005-11-29 9:04 ` Greg Tassone 0 siblings, 2 replies; 18+ messages in thread From: Tomasz Buchert @ 2005-11-29 0:01 UTC (permalink / raw To: gentoo-java Hi! I'm new in Gentoo and new in Java. I have already emerged Blackdown JDK but I'd like to emerge Sun JDK too. And here the problem begins. I'm not interested in JDK 1.5 (it's considered unstable as far as I know). I believe that 1.4 will be enough for a novice. On my portage this package is masked. Is it risky to emerge it? If it is not why it is masked? Thank in advance Tomasz Buchert -- gentoo-java@gentoo.org mailing list ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-java] Question about Sun-Jdk 1.4.2.10 2005-11-29 0:01 [gentoo-java] Question about Sun-Jdk 1.4.2.10 Tomasz Buchert @ 2005-11-28 23:26 ` Eddy Mulyono 2005-11-29 9:04 ` Greg Tassone 1 sibling, 0 replies; 18+ messages in thread From: Eddy Mulyono @ 2005-11-28 23:26 UTC (permalink / raw To: gentoo-java On 11/28/05, Tomasz Buchert <thinred@o2.pl> wrote: > Hi! > I'm new in Gentoo and new in Java. I have already emerged Blackdown JDK > but I'd like to emerge Sun JDK too. And here the problem begins. > I'm not interested in JDK 1.5 (it's considered unstable as far as I > know). I believe that 1.4 will be enough for a novice. On my portage > this package is masked. Is it risky to emerge it? If it is not why it is > masked? At the time of this writing (2005-Nov-28 15:23 Pacific), sun-jdk-1.4.2.10 marked unstable/testing (~x86), not masked. This usually happens to new versions. They come into Portage as testing. If no bugs are filed after certain period, they go into stable. Hope that helps, -Eddy -- gentoo-java@gentoo.org mailing list ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-java] Question about Sun-Jdk 1.4.2.10 2005-11-29 0:01 [gentoo-java] Question about Sun-Jdk 1.4.2.10 Tomasz Buchert 2005-11-28 23:26 ` Eddy Mulyono @ 2005-11-29 9:04 ` Greg Tassone 2005-11-29 11:50 ` Petteri Räty 2005-11-29 15:35 ` Daigo Kobayashi 1 sibling, 2 replies; 18+ messages in thread From: Greg Tassone @ 2005-11-29 9:04 UTC (permalink / raw To: gentoo-java [-- Attachment #1: Type: text/plain, Size: 946 bytes --] On Tue, 2005-11-29 at 01:01 +0100, Tomasz Buchert wrote: > Hi! > I'm new in Gentoo and new in Java. I have already emerged Blackdown JDK > but I'd like to emerge Sun JDK too. And here the problem begins. > I'm not interested in JDK 1.5 (it's considered unstable as far as I > know). FYI: There is nothing "unstable" about JDK 1.5 (or Java 5). It is the recommended "production" platform/runtime of choice for many large vendors and IT shops, and has been for some time now. 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. > I believe that 1.4 will be enough for a novice. On my portage > this package is masked. Is it risky to emerge it? If it is not why it is > masked? I think Eddy answered this for you already, but let us know if you still have questions/concerns. Greg [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-java] Question about Sun-Jdk 1.4.2.10 2005-11-29 9:04 ` Greg Tassone @ 2005-11-29 11:50 ` Petteri Räty 2005-11-29 21:01 ` Greg Tassone 2005-11-29 15:35 ` Daigo Kobayashi 1 sibling, 1 reply; 18+ messages in thread From: Petteri Räty @ 2005-11-29 11:50 UTC (permalink / raw To: gentoo-java; +Cc: Greg Tassone [-- Attachment #1: Type: text/plain, Size: 640 bytes --] Greg Tassone wrote: > > FYI: There is nothing "unstable" about JDK 1.5 (or Java 5). It is the > recommended "production" platform/runtime of choice for many large > vendors and IT shops, and has been for some time now. 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. > 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. Regards, Petteri [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 256 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-java] Question about Sun-Jdk 1.4.2.10 2005-11-29 11:50 ` Petteri Räty @ 2005-11-29 21:01 ` Greg Tassone 0 siblings, 0 replies; 18+ messages in thread From: Greg Tassone @ 2005-11-29 21:01 UTC (permalink / raw To: gentoo-java; +Cc: Petteri Räty [-- Attachment #1: Type: text/plain, Size: 1731 bytes --] On Tue, 2005-11-29 at 13:50 +0200, Petteri Räty wrote: > Greg Tassone wrote: > > > > 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. > > > > 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 [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-java] Question about Sun-Jdk 1.4.2.10 2005-11-29 9:04 ` Greg Tassone 2005-11-29 11:50 ` Petteri Räty @ 2005-11-29 15:35 ` Daigo Kobayashi 2005-11-29 22:11 ` Greg Tassone 1 sibling, 1 reply; 18+ messages in thread From: Daigo Kobayashi @ 2005-11-29 15:35 UTC (permalink / raw To: gentoo-java Hi. I want to use Java 5.0 on gentoo. But now it marks unstable. Is there any task that I can help to unmask Java 5.0? If possible I want to try. By the way, I'm really sorry to send e-mail to Greg's personal address. So I send same mail to list. Best regards, Daigo Kobayashi > FYI: There is nothing "unstable" about JDK 1.5 (or Java 5). It is the > recommended "production" platform/runtime of choice for many large > vendors and IT shops, and has been for some time now. 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. -- gentoo-java@gentoo.org mailing list ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-java] Question about Sun-Jdk 1.4.2.10 2005-11-29 15:35 ` Daigo Kobayashi @ 2005-11-29 22:11 ` Greg Tassone 2005-12-03 0:52 ` Daigo Kobayashi 0 siblings, 1 reply; 18+ messages in thread From: Greg Tassone @ 2005-11-29 22:11 UTC (permalink / raw To: gentoo-java [-- Attachment #1: Type: text/plain, Size: 2846 bytes --] On Wed, 2005-11-30 at 00:35 +0900, Daigo Kobayashi wrote: > Hi. > > I want to use Java 5.0 on gentoo. But now it marks unstable. > Is there any task that I can help to unmask Java 5.0? If possible > I want to try. OK, here's how this is done. It's actually easy but I'll include specific details for you, just in case you're new to this: * If it doesn't already exist, create the directory "/etc/portage" * Then create the file "/etc/portage/package.unmask" if it doesn't already exist. * Add the following line(s) to that file (comments may be omitted): #---------------- dev-java/sun-jdk # (or whatever vendor package you want -- use the full name) dev-java/java-sdk-docs # (if you have your "doc" USE flag on) #---------------- * The above removes the package mask added by the Gentoo developers. However, since the sun-jdk 1.5 package is also marked unstable ("~"), you may need to enable the "testing" profile for these packages as well. Unless your system is set to ~ you will need to perform the following: * If it doesn't already exist, create the file "/etc/portage/package.keywords". * Add the following lines to that file, where "~arch" is the unstable flag for your architecture (e.g., most likely ~x86 or ~amd64). Comments may be omitted, of course: #---------------- dev-java/sun-jdk ~arch dev-java/java-sdk-docs ~arch #---------------- That should do it. You can now emerge the package with a standard command: emerge -av dev-java/sun-jdk ** VERY IMPORTANT ** Unless you know what you're doing, I strongly recommend that you leave your system VM set to a 1.4 JDK/runtime. Your message didn't indicate if you have one installed, so I'll assume you are using Blackdown (which is 1.4). If you aren't, you should install it now: emerge -av dev-java/blackdown-jdk (or use the JRE... I'm just giving examples at this point) ** Back to the WARNING ** Installing the new sun-jdk will usually set your system VM to that one (which is 1.5). To fix this and set a 1.4 system VM, you need to perform the following steps *AFTER* the emerge: * Run the following command (as root) to set a new 1.4 system VM: java-config --set-system-vm=blackdown-jre-1.4.2.02 (assuming you have that version of the blackdown JRE installed) * Now set your user VM to the 1.5 JVM. Run the following command as you standard user account(s): java-config --set-user-vm=sun-jdk-1.5.0.05 (assuming you installed that version of the sun-jdk) That should do it. Enjoy! > By the way, I'm really sorry to send e-mail to Greg's personal address. > So I send same mail to list. No problem at all. Cheers, Greg [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-java] Question about Sun-Jdk 1.4.2.10 2005-11-29 22:11 ` Greg Tassone @ 2005-12-03 0:52 ` Daigo Kobayashi 2005-12-03 2:44 ` Greg Tassone 0 siblings, 1 reply; 18+ messages in thread From: Daigo Kobayashi @ 2005-12-03 0:52 UTC (permalink / raw To: gentoo-java Hi. Greg Thank you for reply my message. I try to upgrade sun-jdk 1.5 and successfully finished. I know in some case jdk 1.5 may cause problem. But I dont't want to back to jdk 1.4.2. So I remove sun-jdk 1.4.2_09. If I found some problem, shoud I will report it? regards, Daigo Kobayashi > OK, here's how this is done. It's actually easy but I'll include > specific details for you, just in case you're new to this: > > * If it doesn't already exist, create the directory "/etc/portage" > > * Then create the file "/etc/portage/package.unmask" if it doesn't > already exist. > > * Add the following line(s) to that file (comments may be > omitted): > > #---------------- > dev-java/sun-jdk > # (or whatever vendor package you want -- use the full name) > dev-java/java-sdk-docs > # (if you have your "doc" USE flag on) > #---------------- > > * The above removes the package mask added by the Gentoo > developers. However, since the sun-jdk 1.5 package is also > marked unstable ("~"), you may need to enable the "testing" > profile for these packages as well. Unless your system is set > to ~ you will need to perform the following: > > * If it doesn't already exist, create the file > "/etc/portage/package.keywords". > > * Add the following lines to that file, where "~arch" is the > unstable flag for your architecture (e.g., most likely ~x86 or > ~amd64). Comments may be omitted, of course: > > #---------------- > dev-java/sun-jdk ~arch > dev-java/java-sdk-docs ~arch > #---------------- > > > That should do it. You can now emerge the package with a standard > command: > > emerge -av dev-java/sun-jdk > > > ** VERY IMPORTANT ** > > Unless you know what you're doing, I strongly recommend that you leave > your system VM set to a 1.4 JDK/runtime. Your message didn't indicate > if you have one installed, so I'll assume you are using Blackdown (which > is 1.4). If you aren't, you should install it now: > > emerge -av dev-java/blackdown-jdk > > (or use the JRE... I'm just giving examples at this point) > > ** Back to the WARNING ** > > Installing the new sun-jdk will usually set your system VM to that one > (which is 1.5). To fix this and set a 1.4 system VM, you need to > perform the following steps *AFTER* the emerge: > > * Run the following command (as root) to set a new 1.4 system VM: > > java-config --set-system-vm=blackdown-jre-1.4.2.02 > > (assuming you have that version of the blackdown JRE installed) > > * Now set your user VM to the 1.5 JVM. Run the following command > as you standard user account(s): > > java-config --set-user-vm=sun-jdk-1.5.0.05 > > (assuming you installed that version of the sun-jdk) > > > That should do it. Enjoy! -- gentoo-java@gentoo.org mailing list ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-java] Question about Sun-Jdk 1.4.2.10 2005-12-03 0:52 ` Daigo Kobayashi @ 2005-12-03 2:44 ` Greg Tassone 0 siblings, 0 replies; 18+ messages in thread From: Greg Tassone @ 2005-12-03 2:44 UTC (permalink / raw To: gentoo-java [-- Attachment #1: Type: text/plain, Size: 1535 bytes --] On Sat, 2005-12-03 at 09:52 +0900, Daigo Kobayashi wrote: > Hi. Greg > > Thank you for reply my message. I try to upgrade sun-jdk 1.5 > and successfully finished. Glad to hear it. > I know in some case jdk 1.5 may cause problem. But I dont't want > to back to jdk 1.4.2. So I remove sun-jdk 1.4.2_09. Understood. Depending on which Java packages you are trying to use there may be problems, but at least you know the risks. The types of problems are varied and sometimes a bit complicated -- see the other parts of this thread for more detailed information. Furthermore, in doing this you are putting your Gentoo environment into a less-supportable design. In other words, some folks may be less interested in helping you should any problems arise, so make sure you are "comfortable" in dealing with system problems yourself. If this doesn't sound desirable to you, I suggest you leave a 1.4 JDK on your machine for now (in addition to the 1.5 JDK, of course). Unless you cannot afford the disk space or something, it may save you some problems in the long run, and it doesn't hurt anything in doing so. > If I found some problem, shoud I will report it? Well, this gets tricky. Nothing should be reported that may be caused by system conflicts from unmasking a masked package (that's why they are masked in the first place). Therefore, unless you are pretty certain that a given problem is NOT related to a masked package conflict, you shouldn't report it (IMO). Regards, Greg [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2005-12-08 0:05 UTC | newest] Thread overview: 18+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2005-11-29 23:57 [gentoo-java] Question about Sun-Jdk 1.4.2.10 Peter B. West 2005-11-30 0:31 ` Antony Riley 2005-11-30 1:12 ` Joshua Nichols 2005-11-30 22:39 ` Peter B. West 2005-11-30 23:09 ` Greg Tassone 2005-12-03 8:23 ` Peter B. West 2005-12-03 9:45 ` Petteri Räty 2005-12-07 20:56 ` Java 1.5 - the Real Story [was: Re: [gentoo-java] Question about Sun-Jdk 1.4.2.10] Karl Trygve Kalleberg 2005-12-08 0:08 ` John Manko -- strict thread matches above, loose matches on Subject: below -- 2005-11-29 0:01 [gentoo-java] Question about Sun-Jdk 1.4.2.10 Tomasz Buchert 2005-11-28 23:26 ` Eddy Mulyono 2005-11-29 9:04 ` Greg Tassone 2005-11-29 11:50 ` Petteri Räty 2005-11-29 21:01 ` Greg Tassone 2005-11-29 15:35 ` Daigo Kobayashi 2005-11-29 22:11 ` Greg Tassone 2005-12-03 0:52 ` Daigo Kobayashi 2005-12-03 2:44 ` Greg Tassone
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox