There is a perfectly good java 1.5 ebuild for Gentoo. It is masked because of some "features" of 1.5. Java 1.5 uses the latest language features by default ( read: code containing enum as an identifier will not compile on 1.5 ). If you try to emerge openoffice or eclipse on 1.5 they won't build. This does not mean you can't use Java 1.5 by any means. You can have an 1.4.2 jdk and 1.5 parallely installed and switch between them with 'java-config'. So you will have to switch to 1.4.2 before emerge-ing any 'problematic' java packages ( there are a lot of them ) , and then switch back to 1.5 for daily use. Most people find this switching rather frustrating - hence Java 1.5 is hard masked. If the switching does not bother you - unmask it and use it.
On Sat, 2005-02-19 at 14:31 -0500, Colin wrote: > Ivan Yosifov wrote: > > >I suggest blackdown-jdk-1.4.2.01-r1 ( or later :) ). It is based on sun > >1.4.2_07 code , contains linux-specific improvements , and is not fetch > >restricted. Just my 2c. > > > > > I have to program in Java for my computer science class, so is there a > stable version of JDK 1.5 for Gentoo? > > -- > Colin > > > -- > [email protected] mailing list > > -- Ivan Yosifov. -- [email protected] mailing list
