Java Linux

Today we are going to show you how to install the Oracle Java 8 in the Ubuntu platform. The first thing we are going to do is to go to the terminal. The terminal is the window in which we type commands to be executed so that we perform operations on the Ubuntu platform.

RECOMMENDED: How to Get Started when Using Linux for The First Time

1. Search for the terminal in the Unity menu by typing “terminal“.

Install Java on Ubuntu - Terminal2. The next step is to type the following statement on the opened terminal:

sudo add-apt repository ppa:webupd8team/java

This command will add the Oracle Java repository. After typing that statement, press enter enter on your keyboard and the following will be the result. Where you will be aske to confirm by pressing enter key to go to the next step.

Install Java on Ubuntu - Terminal Statement

After finishing you will have to use the following command:

sudo apt-get update

This command will update your repositories so it will see the freshly added one.

3. After this we can install the Java with the following command:

sudo apt-get install oracle-java8-installer

After the install of the Java, press enter to confirm. Use the arrow keys on the keyboard to navigate from the <yes> and <no> options. You will have to choose Yes to accept the Oracle Binary Code License Terms.

Install Java on Ubuntu - License agreement

After selecting Yes, the downloading and installing Java will start and it will take around a minute to finish.

4. After finishing you can check the Java version which is installed by typing the following command:

java -version

You should see something similar:

Install Java on Ubuntu - Java Version

Also you can check the Java Plugins for your browser. Just open your browser and type in the address bar the following: About:plugins

You should see the java plugins listed.

Install Java on Ubuntu - Java Browser Plugins

There you have the simple steps for installing Java on Ubuntu. You can now do it on your own without hiring a technician to do it for you. Feel free to share with your friends!

You might be interested:

How to Install Linux with Windows

Easy Linux Mint Windows Installer

How to Use Linux Commands on Windows

Why We Should All Use Linux

Leave a Reply