Comment 4 for bug 348677

Revision history for this message
Simon Morgan (sjmorgan) wrote :

The problem is that sun-java6-jdk does not update the alternatives system even when there are no other java implementations installed. The javac binary does exist:

~ $ dpkg -L sun-java6-jdk | grep "bin/javac"
/usr/lib/jvm/java-6-sun-1.6.0.10/bin/javac

A temporary fix for the problem is to run "sudo update-java-alternatives -s java-6-sun".