Install oracle java in Ubuntu


To install Oracle Java in Ubuntu operating system run following commands:

$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update

After running above commands you can install any of following versions of Oracle Java with apt-get:

  • oracle-java6-installer
  • oracle-java7-installer
  • oracle-java8-installer

If you want to install oracle-java7-installer user following command:

$ sudo apt-get install oracle-java7-installer



Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s