Re: help with alternatives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Feb 19, 2009, at 10:00 AM, Tony Schreiner wrote:

> I've installed java-1.6.0-openjdk (from EPEL) on a CentOS 5.2 x86_64
> system and see that it has not registered itself with alternatives.
>
> First, is there a reason I should know about that it does not set
> itself up as an alternative?
>
> But second, if I was to configure it myself, the syntax is
>
> alternatives --install link name path priority    ... and other
> optional stuff
>
>
> Looking at other examples, I'm not clear on the difference between
> link and path in this command
>
> Thanks,
> Tony Schreiner
> Boston College
>

Sorry to follow up to myself

rpm -q --scripts java-1.6.0-openjdk

actually shows it has commands to install itself in alternatives, but  
it didn't happen. I ran the commands by hand and got the error

link /usr/share/javaws incorrect for slave javaws (/usr/bin/javaws  
javaws)

that's why it didn't install. I can remove the part about javaws from  
the script and it works. Will investigate why that at some point.

Tony
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux