How to install Oracle Java (JRE/JDK) on Debian (Squeeze)

Works like a charm, even on Debian Squeeze. You just have to add the Sid repository and specify a low priority in your APT configuration via a new /etc/apt/preferences.d/debian-sid file, like this one ...

Explanation: by default install from Sid only as a last resort
Package: *
Pin: release n=sid*
Pin-Priority: 100