am learning about Android and related technologies. Thursday, April 29, 2010 Installing Java 6 JDK in Ubuntu 10.4 The Java 6 SDK is required by Eclipse . http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/ http://www.botskool.com/forum/computer-programming/linuxunix/install-sun-java-6-ubuntu-1004-jdk-jre sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner" sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk // this only generates error now:  sudo update-java-alternatives -s java-6-sun