Public bug reported: I used to have both the sun-java6 and openjdk packages installed. However, this caused problems for ant building particular packages. Further investigation showed that the reason was that update-java- alternatives was not able to switch the default JVM to use because a single change had been made to javac via update-alternatives.
ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: java-common 0.42ubuntu2 ProcVersionSignature: Ubuntu 3.0.0-12.20-generic-pae 3.0.4 Uname: Linux 3.0.0-12-generic-pae i686 ApportVersion: 1.23-0ubuntu4 Architecture: i386 Date: Thu Nov 3 12:56:25 2011 Dependencies: InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007) PackageArchitecture: all ProcEnviron: PATH=(custom, user) LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: java-common UpgradeStatus: Upgraded to oneiric on 2011-09-25 (39 days ago) ** Affects: java-common (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 oneiric running-unity -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/885656 Title: update-java-alternatives can fail if update-alternatives lists multiple JVMs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/java-common/+bug/885656/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs