fedora-users October 2011 archive
Main Archive Page > Month Archives  > fedora-users archives
fedora-users: Re: cleaning java alternatives

Re: cleaning java alternatives

From: Deepak Bhole <dbhole_at_nospam>
Date: Tue Oct 11 2011 - 14:51:38 GMT
To: Community support for Fedora users <users@lists.fedoraproject.org>

* Ian Malone <ibmalone@gmail.com> [2011-10-03 17:32]:
> Hi,
>
> A long time ago (before iced tea and openjdk) I installed Sun Java on
> my Fedora system (I see the jpackage website still exists, though it's
> a bit quiet). And through subsequent upgrades I gradually ended up
> with alternatives (as in alternatives --config java) which variously
> pointed to gcj or, now, openjdk, this was the state of affairs until
> quite recently (I had an issue with Java under F10 that required java
> to work around until the underlying problem was found). Now this
> computer is on F15 and I've only just noticed the icedtea-web plugin
> wasn't showing up in firefox, it turned out I needed to change
> alternatives --config libjavaplugin.so.x86_64 (incidentally, does
> alternatives have any way to list what alternatives it controls? I
> ended up looking through /etc/alternatives to find out).
>
> What I'd like to know is if there's any way to reliably clean up my
> alternatives system to only use the current version of openjdk (rather
> than chasing separate javac, javaw, libjavaplugin etc.)? I've tried
> googling a bit but haven't found anything useful.
>

The java plug-in has always been controlled by a separate alternative
than java/javac. AFAIK, libjavaplugin.so[.x86_64], java and javac are
the only alternatives you need to manage. Those are the master
alternatives that control the remaining ones.

Cheers,
Deepak

> Thanks,
> --
> imalone
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines