Sunday, 25 September 2011

Install Java in Ubuntu Linux

How to download and install prebuilt OpenJDK packages

JDK 6
Debian, Ubuntu, etc.

On the command line(Applications-> Accessories->Terminal), type:

    $ sudo apt-get install openjdk-6-jre
    $ sudo apt-get install openjdk-6-jdk

The openjdk-6-jre package contains just the Java Runtime Environment. If you want to develop Java programs then install the openjdk-6-jdk package.
Post a Comment