- 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/
- third, following command
#apt-get update
#apt-get install java-package
%make-jpkg jdk-1_5_0_08-linux-i586.bin
#dpkg -i sun-j2sdk1.5_1.5.0+update08_i386.deb
%java -version
%javac -version
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.