- first, download the jdk-1_5_0_08-linux-i586.bin file from sun.
- second, add following 2 lines into /etc/apt/sources.list
deb http://z42.de debian/
deb-src http://z42.de debian/
#apt-get install java-package
#dpkg -i sun-j2sdk1.5_1.5.0+update08_i386.deb
- confirm you've installed java & jdk
That's all I did to install java into Debian GNU/Linux testing for i386.
note: DO NOT install eclipse from apt!! if you do
#apt-get install eclipse
then gcj java executable and jvm and compiler will be installed. They are TERRIBLE.