I’ve uploaded a new jdk1.4 Debian package builder, this one for Sun’s 1.4.2 JDK. The package is called sun-jdk1.4-installer, you can obtain it from the APT repository hosted on opennms.org.
http://debian.opennms.org/ debian/opennms unstable|stable
Once installed, you can build a Debian package of the JDK by downloading the self extracting .bin file from http://java.sun.com, and then providing the full path to the archive as the only argument to the “build-sun-jdk14” script. For example …
eevans@host: ~$ build-sun-jdk14 /tmp/j2sdk-1_4_2_05-linux-i586.bin
Once the script completes, you should have a j2sdk1.4_1.4.2-1_i386.deb package in your current directory.