Steps to install java in linux

fire the terminal and use commands:-
$sudo add-apt-repository ppa:sun-java-community-team/sun-java7
$sudo apt-get update
$sudo apt-get install sun-java7

To check its version:-

$java -version
It will show information like:-
java version “1.6.0_27”
OpenJDK Runtime Environment (IcedTea6 1.12.3) (6b27-1.12.3-0ubuntu1~12.04)
OpenJDK Server VM (build 20.0-b12, mixed mode)
Advertisements

About Jasleen Kaur

Hi, I am Jasleen kaur, a Computer Science Student.
This entry was posted in Uncategorized. Bookmark the permalink.

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