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

Categories: Uncategorized
  • Syamsul

    Thank you – finally found out how to install this!

    • Yeah man! I spent hours and hours looking for articles so I figured I’d share the research!

  • ct

    thanx a lot!

  • I’m not sure why but this weblog is loading incredibly slow for me.
    Is anyone else having this problem or is
    it a issue on my end? I’ll check back later on and see if
    the problem still exists.

    • Yeah, we’re sorry. Our hosting provider, Media Temple really sucks to be frank! They’re quality of service has degraded drastically over the last year so we’re switching hosts this weekend to Site5.

  • Exact matches only
    Search in title
    Search in content
    Search in posts
    Search in pages
    Filter by Categories
    Business Development
    Company News
    Content Marketing
    Operating Systems
    OS X
    Pay Per Click Management
    Press Releases
    Sage Theme
    Search Engine Marketing
    Search Engine Optimization
    Search Marketing
    Tips and Tricks
    Video Production
    Website Development
    Website Development
  • Recent Posts

  • Categories

  • Would You Like a Quick Call?

    We're happy to spend 30 minutes answering any of your questions and showing you the first steps to make your business "add up".

    From Our Blog

    The First 5 Things You Should Know When Using ‘Screen’

    Categories: Uncategorized

    What is screen? screen is program that allows you to use multiple windows (virtual VT100 terminals) in Unix. In other words, instead of having a bunch of tabs open in Terminal to do different things at the same time you can run the commands below to show and hide them.   How to use screen? […]

    Continue Reading »

    Roots Error #1 – Failed to connect to the host via ssh: Permission denied (publickey).

    Categories: Bedrock, Roots, Trellis

    Earlier this year we began using Roots’ Trellis, Bedrock and Sage to develop and manage websites. While the system is everything WordPress should be. There are some things it should not be. One of them is temperamental, another is incredibly complicated. Today I’m working on our third project with Roots. But simultaneously with our second and […]

    Continue Reading »

    Roots Error #103 – ERROR! Invalid vars plugin version from /Users/myusers/Sites/

    Categories: Bedrock, PHP, Programming, Roots, Sage Theme, Trellis

    Aaaand we’re back. If you saw or read my previous two articles, those were related to project #2. This article, however, is related to project #3.   The Problem I created the site and successfully worked on it on my Linux Ubuntu machine. I successfully deployed my work from development to staging went to bed. And then […]

    Continue Reading »


    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 »






  • Logo for The Portland Company with a Coyote