The easiest (and the best way) to install java on Debian is as follows:
1. Verify that “contrib” is listed in your /etc/apt/sources.list
deb http://debian.oregonstate.edu/debian/ stable main contrib
2. Update APT
apt-get install java-package
3. Go to java.com and download the latest java bin file.
4. Create the deb package
fakeroot make-jpkg <java_file_just_downloaded>.bin
5. Install it
dpkg -i <java_youjustmade_xxxxx>.deb
6. Happy dance.