Wade Brown schreef:
> 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.
> 

I use a variation on this; my system jre and jdk are blackdown-1.4.2,
but azureus really really prefers sun-1.5.whatever (or at least 2.3.0.0
did, just upgraded to 2.3.0.2--which finally made it into Portage-- but
haven't used it yet; it's supposed to solve this issue, afaik).

Since 1) azureus crashed alot with blackdown, and 2) I didn't want to
change my entire system to sun 1.5, since I had no idea of the effects
and 3) not changing my entire system results in having only the sun jre,
but not the sun jdk (so a mismatched system), my solution was to write a
small script to run azureus:

#!/bin/sh
java-config -s sun-jre-bin-1.5.0.03
source /home/motub/.gentoo/*
azureus


Works fine, and saves me having to remember to do it manually every time
I want to start the program (and being reminded when I tried to open the
Configuration tab and the program crashed with a Java HotSpot error).

So, for what it's worth, it is possible to manage 'stable' and
'unstable' java versions on the system, at least as far as pre-compiled
 java-based executables go. I'm not a Java developer (or any kind of
developer), so I don't really have much interest in testing the
compilation of programs against the new Java, which, as I understand it,
may work, but may not.

What I'm wondering is whether blackdown is ever going to update to a 1.5
version.

Holly
-- 
gentoo-user@gentoo.org mailing list

Reply via email to