Java on Debian Etch

I got a bit confused when googling how to install java on Debian 4, but this business seems to work:

vim /etc/apt/sources.list

add non-free to the ftp.debian.org entry:

deb http://ftp.debian.org/debian/ etch main non-free
deb-src http://ftp.debian.org/debian/ etch main non-free

Then

aptitude install sun-java5-jdk

I’ve always been a bit crap at Debian, it never quite works how I expect it to!

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>