Install sun-java6-jdk in debian wheezy

sun-java6-jdk no longer available in debian wheezy due to some licencing issues.

Download the binary called Java SE 6 Update 30 at
http://www.oracle.com/technetwork/java/javase/downloads/index.html

unpack it to /opt/jvm/

#update-alternatives --install /usr/bin/java java  /opt/jvm/jdk1.6.0_30/jre/bin/java 3
#update-alternatives --config java

select the option 3 and you are done