Re: [opensuse] Broken Java symbolic links after system update
![](https://seccdn.libravatar.org/avatar/b12cfb65ca4faebc3e3aac17838e8f8d.jpg?s=120&d=mm&r=g)
Moby, I'm sending this reply back to the list, since the information it contains is probably worth having in the archive. On Friday 19 October 2007 08:00, Moby wrote:
Randall R Schulz wrote:
On Thursday 18 October 2007 20:57, Moby wrote:
Jake Conk wrote:
Hello,
I just did a 'zypper update' and now apparently all my links to my java stuff are broken, specifically all the java links in '/etc/alternatives/java*'... ...
...
Run /usr/sbin/update-alternatives as root.
...
Is it really necessary to run this command for each broken link in /etc/alternatives? And the invocation must supply the targe? At the moment, there are 52 broken symlinks in /etc/alternatives on my 10.3 system.
...
The upshot:
Run update-alternatives twice, once with --config --java and once with --config --javac. That should be enough, you do not need to worry about running it for each broken link.
Regards,
Thanks. Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/a9b061328a3e5896684c61dcaf95960f.jpg?s=120&d=mm&r=g)
Randall R Schulz wrote:
[...]
The upshot:
Run update-alternatives twice, once with --config --java and once with --config --javac. That should be enough, you do not need to worry about running it for each broken link.
Regards,
I had the same problem. After an automatic update of jdk (from 1.6.0_02 to 1.6.0_03), I could not find any java or javac again. As root, I'm trying to start the command # update-alternatives --config --java but my system answered "No alternative for --javac" even if rpm and yast say the jdk is installed (all package with name starting java-1_6_0_sun* are installed Don't understand what happen ;) claude
Thanks.
Randall Schulz
-- claude.fuhrer@bfh.ch ---------------------------------------- Haute Ecole Spécialisée Bernoise / Technique et informatique Dpt d'informatique Haute route 82 CH - 2501 Biel-Bienne Phone +41 32 3216 336 Fax +41 32 3216 523 --------------------------------------------------------------- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Claude Fuhrer
-
Randall R Schulz