If I try to install Sun Java JDK 6 on Debian, it doesn't install it. I don't want to install OpenJDK, because it doesn't work always exactly same as Sun JDK.
I use following command:
apt-get install sun-java6-jdk
Package name should be correct, see link http://packages.debian.org/sid/sun-java6-jdk.