How to Install OpenJDK or OpenJRE in Ubuntu/Linux

 

In this post we'll see how to install OpenJDK or OpenJRE in Ubuntu or Linux. It's so simple. Run your teminal and type the following command to install
OpenJDKv6:

sudo apt-get install openjdk-6-jdk 

You may ask for root password. So enter your root password to proceed the process.

Similarly to install OpenJDKv6 JRE type the following command:

sudo apt-get install openjdk-6-jre

For OpenJDKv7-

Type the following command to install:

sudo apt-get install openjdk-7-jdk For OpenJDKv7 JRE

Type the following command to install:

sudo apt-get install openjdk-7-jre

Enjoy! :-)

Comments

Popular Posts