Make sure the universe and multiverse repositories are enabled.
sudo apt-get install fakeroot java-package java-common fakeroot make-jpkg --full-name "My Name" --email "[email protected]" sudo dpkg -i sun-j2re1.5_1.5.0+update05_i386.deb sudo update-alternatives --config java