Java + Debian

localhost:~# nano /etc/apt/sources.list

Добавляем репозитарии:

  • deb http://ftp.debian.org/debian lenny main contrib non-free
  • deb http://security.debian.org/ lenny/updates main contrib
  • deb http://ftp.debian.org/debian/ unstable non-free
  • deb-src http://ftp.debian.org/debian/ unstable non-free

localhost:~# apt-get install sun-java6-jre

Проверяем:

localhost:~# java -version