Installation Oracle JDK-7 on Linux

Whenever you need to install java, do prefer the Oracle JDk rather than the OpenJDK, because Oracle JDK has more advance features support.

$sudo add-apt-repository ppa:webupd8team/java
 $sudo apt-get update
 $sudo apt-get install oracle-java7-installer
Check version of Java:
 $java -version
 java version "1.7.0_80"
 Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
 Java HotSpot(TM) Server VM (build 24.80-b11, mixed mode)

Reference: https://www.digitalocean.com/community/tutorials/how-to-install-java-on-ubuntu-with-apt-get
Advertisements

About Jasleen Kaur

Hi, I am Jasleen kaur, a Computer Science Student.
This entry was posted in Linux and tagged , , . 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