How to Install Java (OpenJDK) on Ubuntu 10.04

I was unable to find any official, working, documentation on the Ubuntu website regarding how to install Java onto Ubuntu. In fact, I read that OpenJDK comes preinstalled with Ubuntu, but if it is I certainly couldn’t find where it was located or how to start it.

The command below will install and configure OpenJDK, a leading open source version of Java.

sudo apt-get install openjdk-6-jdk


I was advised to run the command below, which apparently tells you what is installed in Ubuntu. I did see “openjdk” numerous times in the list, but I couldn’t verify how to start it if it did exist.
apt-cache search jdk

Spencer Hill
Categorized in: Uncategorized
This post is related to:


Since 2005 we've been offering digital and content marketing strategy and implementation. Including website development, search engine optimization and marketing, search marketing and more.

Continue Reading »



[email protected]




8215 SW Tualatin-Sherwood Road, Suite 200, Tualatin, Oregon 97062


  • If you like our Blog you'll love our Emails.
    We'll share our expert knowledge on technology and growing your business.

    This will close in 0 seconds

    Logo for The Portland Company with a Coyote