Surprised to find that Sun Java packages were missing in Ubuntu Maverick (10.10). The new Ubuntu release uses OpenJDK by default. I needed sun-java6-jdk package to use a eclipse IDE development Android ADT plugin.
Found the solution in this StackOverFlow thread How to install Sun JDK on Ubuntu 10.10 “Maverick meerkat”?
# Add this line to your /etc/apt/sources.list file deb http://archive.canonical.com/ubuntu maverick partner sudo apt-get update sudo apt-get install sun-java6-jdk # Get rid of OpenJDK sudo apt-get remove openjdk-6-jdk openjdk-6-jre openjdk-6-jre-headless openjdk-6-jre-lib