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".
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" jvm/java- 6-sun-1. 6.0.10/ bin/javac
/usr/lib/
A temporary fix for the problem is to run "sudo update- java-alternativ es -s java-6-sun".