Quoth Davide Mancusi: > Magnus Therning ha scritto: >> How do I make sure that all the java-related links in /etc/alternatives >> are sane? >> >> I installed icedtea, then purged it and installed sun-java5 and >> sun-java6. Some links in /etc/alternatives are still pointing to the >> (now non-existing) tools that came with icedtea. How do I easily switch >> them to all point to the tools of a specific java package? > > That's weird. Does the following help? > # update-alternatives --config java > You might want to try also > # update-alternatives --auto java > and have a look at the other link groups related to java (man > update-alternatives). There also is 'update-java-alternatives'. Should do the same thing... # update-java-alternatives -l java-6-sun 63 /usr/lib/jvm/java-6-sun java-gcj 1042 /usr/lib/jvm/java-gcj # update-java-alternatives -s java-gcj # this should take care of your problem. Aleks
Attachment:
signature.asc
Description: Digital signature