java alternatives

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

 



Hello,

I'm running Fedora 10 and recently installed the Sun Java JDK 6_13 using the alternatives command.
It works fine, including the plugin, but I really don't get the synchronization process as discussed in the manual. If I issue the command 
$ alternatives --display java
I see that there is a list of 'slaves' associated with the group 'java' already present. These slaves are java commands and manpages.
I assume that I should also have included these slaves, but didn't.
So the first question I have is how can you add slaves afterwards?
I tried a number of ways but wasn't able to unless I removed it and reinstalled it.
Also, even though this worked for slaves that were commands, it didn't work for the manpages.
For example,
$ alternatives (etc.) --slaves /usr/share/man/man1/java.1.gz java.1.gz /opt/java/man/man1/java.1 does not work.

I'm not even sure if I understand this correctly, but I can't find any good documentation on the alternative system.

Afterwards there was a message that stated the group was now in manual mode instead of automatic.
Basically my take is that when it's in automatic mode, then if you switch to the other version using the command
$ alternative --config
All the other slaves will switch associated with the group will switch over as well.
Now that it is in manual mode, do I have to switch each slave myself? How?


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux