Justin Hart wrote:
> Hi,
>
> Is there a good solution to this issue?
>
> http://forums.gentoo.org/viewtopic-t-336926-highlight-ant.html?sid=13c87663527168f3871ce928f26ec868
>
> I've been wrestling with it for a bit now. I've tried a few of the
> bits of advice, but generally have just ended up working around the
> issue.
>
My solution is to use jdk 1.4 for the default system jdk and only use jdk 1.5
with non-root users.
# set the default system vm
sudo java-config -S blackdown-jdk-1.4.2.02
# setup yor user for jdk 1.5
echo "source ${HOME}/.gentoo/java-env" >> ~/.bashrc
java-config -s sun-jdk-1.5.0.04
source /etc/profile
Zac
--
[email protected] mailing list