Please see The Debian wiki Java page:
https://wiki.debian.org/Java
Basically ignore this entire article and see https://adoptopenjdk.net/releases.html
https://adoptopenjdk.net/installation.html#linux-pkg
This post is outdated, Do NOT use it
Steps for Oracle Java 6
Quote:
Version 1.6.x (a.k.a Java 6 Update x)
NOTE: Java 6 is scheduled to die (End of Life or EOL) in November 2012
As of April 27, 2012 the latest version of Java 6 is 1.6.0_32
...