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.
1. Search for the terminal in the Unity menu by typing “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.
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.
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:
You should see something similar:
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.
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: