Sunday, November 08, 2009

Ubuntu 9.10 - JDK6

Ubuntu 9.10 supports openjdk by default. To install the SUN JDK, the /etc/apt/sources.list file has to be extended by the following lines:
  • deb http://ftp.debian.org/debian squeeze main contrib non-free
  • deb-src http://ftp.debian.org/debian squeeze main contrib non-free
After that, JDK install is simple:
  1. sudo apt-get update
  2. sudo apt-get install sun-java6-jdk

No comments: