[Bug 84790] Re: [feisty] update-alternatives doesn't notice java6
laga
laga at laga.ath.cx
Sun Feb 24 13:02:34 GMT 2008
This problem still exists in Gutsy amd64 for me.
I had a lot of different java "flavours" installed (all using packages)
and decided to remove them when I was triaging an unrelated bug.
After removing the icedtea-java7* packages and installing the sun-java6*
packages, "java" couldn't be executed anylonger because
/etc/alternatives/java was pointing to missing files:
rwxrwxrwx 1 root root 40 2008-02-24 13:40 /etc/alternatives/java -> /usr/lib/jvm/java-7-icedtea/jre/bin/java
lrwxrwxrwx 1 root root 37 2007-09-29 14:32 /etc/alternatives/javac -> /usr/lib/jvm/java-1.5.0-sun/bin/javac
lrwxrwxrwx 1 root root 39 2007-09-29 14:32 /etc/alternatives/javadoc -> /usr/lib/jvm/java-1.5.0-sun/bin/javadoc
lrwxrwxrwx 1 root root 37 2007-09-29 14:32 /etc/alternatives/javah -> /usr/lib/jvm/java-1.5.0-sun/bin/javah
lrwxrwxrwx 1 root root 37 2007-09-29 14:32 /etc/alternatives/javap -> /usr/lib/jvm/java-1.5.0-sun/bin/javap
I ran the following lines which I found in this ticket:
sudo update-java-alternatives --list
sudo update-java-alternatives --auto
and that fixed it.
It'd be very nice, though, if this was working out of the box.
** Changed in: sun-java6 (Ubuntu)
Status: Fix Released => Confirmed
--
[feisty] update-alternatives doesn't notice java6
https://bugs.launchpad.net/bugs/84790
You received this bug notification because you are a member of Ubuntu
Backporters, which is a subscriber of a duplicate bug.
More information about the ubuntu-backports
mailing list