Java 1.5 is in the portage tree, though I'm not entirely sure on its masked state. I do know that some programs have issues with 1.5, and there are plenty of warnings all over the place that using a system-wide configuration of java 1.5 is potentially hazardous when building up some of the older packages that depend on a sane version of java. Anyway, to unmask it (I use it, and it does work just fine so far, but my use of java is limited), do the following
echo "dev-java/sun-jdk ~x86" >> /etc/portage/package.keywords echo "dev-java/sun-jre-bin ~x86" >> /etc/portage/package.keywords echo ">=dev-java/sun-jdk-1.4.99" >> /etc/portage/package.unmask echo ">=dev-java/java-sdk-docs-1.4.99" >> /etc/portage/package.unmask emerge -DuvaN world java-config -S sun-jdk-1.5.0.03 env-update && source /etc/profile Should this ever become a problem down the road, your old version of java still exists, use java-config -L to see which one to set it back to. So far I've been able to run eclipse, azureus, and mozilla java with no problems using the latest sun-jdk, but do be warned several programs are expected to fail building. On 6/13/05, Kevin O'Gorman <[EMAIL PROTECTED]> wrote: > It's been about 9 months now that Java 1.5 has been an official release from > Sun > and I see no ebuilds, masked or not. I'm going to be teaching this > puppy starting > in September, and I need to start using it. This raises two questions: > > 1) Is there a simple way to install the current release without damaging the > ebuild-installed ones I have, or should I just blunder ahead and mangle my > own PATH and such in .bashrc_local (or whereever -- this is a > one-user machine). > > 2) Better yet, is there a way to integrate such a release with > java-config. I took > a very brief look at the Python, and java-config is just cryptic > and undocumented > enough for me to prefer to *not* learn it well enough to answer this > myself. > > -- > Kevin O'Gorman, PhD > > -- > [email protected] mailing list > > -- [email protected] mailing list

