Home > Java > Installing OpenJDK on Ubuntu

Installing OpenJDK on Ubuntu

Hi All! Today i tried to install oracle jdk on ubuntu but as i hadn’t previously worked on linux/ubuntu i didn’t knew how to do it. Then i found that OpenJDK is the default implementation of JVM on Ubuntu and it could be installed with this simple command:

 sudo apt-get install openjdk-6-jdk 

after this run the following command to see if the jdk is successfully installed:

 java -version 

Cheers 🙂

Advertisements
Categories: Java
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: