Installing java on Debian – the easy way

Posted May 7th, 2010 in Bread-crumbs and tagged by Tobias

The easiest (and the best way) to install java on Debian is as follows:

1. Verify that “contrib” is listed in your /etc/apt/sources.list

deb stable  main contrib

2. Update APT

apt-get  install java-package

3. Go to and download the latest java bin file.

4. Create the deb package

fakeroot  make-jpkg <java_file_just_downloaded>.bin

5. Install it

dpkg -i <java_youjustmade_xxxxx>.deb

6. Happy dance.

Comments are closed.