Warning, this article is outdated!, please refer to the newer article
Want to install Java 2 SDK (j2sdk) in your Debian or Ubuntu? Well, I’ve created a home-made package for Java 2 SDK 1.4.2.
First download the deb from either of this mirror:
and after that, just do :
$ sudo dpkg -i sun-j2sdk1.4_1.4.2_09_i386.deb
and Sun Java 2 SDK 1.4.2 should be installed in your system by now. You can refer to https://wiki.ubuntu.com/Java if you want to build other Sun Java deb package (like Java 1.5.0)
That’s all for today folks, happy programming in Java!