I think I just ran into this on a freshly installed and updated 12.04 alpha 1
system. I did
apt-get install openjdk-7-jdk
and java alternatives were ok, but after
aptitude remove java-common icedtea-7-jre-jamvm openjdk-7-jdk openjdk-7-jre
openjdk-7-jre-headless openjdk-7-jre-lib
apt-get install openjdk-7-jdk
there were no java alternatives. Same thing with openjdk-6; they're ok on
first install, but not on reinstall.
The workaround, as Martin noted, is to run
sudo /usr/share/debconf/frontend
/var/lib/dpkg/info/openjdk-7-jre-headless:amd64.postinst configure
sudo /usr/share/debconf/frontend
/var/lib/dpkg/info/openjdk-7-jdk:amd64.postinst configure
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/905808
Title:
java alternatives missing after upgrade to precise
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/905808/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs