Oracle Java is not installed by default, regarding fact that Open Java installation is available over official channels. Sometimes it is necessary to install Oracle Java. This tutorial is applicable to Linux Mint too.
First you need to install PPA, which supports all Ubuntu releases from 12.04 until now and Linux Mint 13, 17 and 17.1. When you install PPA JDK8 and JRE8 will be available to you.
Type following syntax in order to install PPA:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
On finished update you are ready to install Oracle Java. Type following:
sudo apt-get install oracle-java8-installer
Installation will start small wizard. Select OK in order to agree to licence and then select Yes on next screen in order to allow binaries installation (Slide 1.).
On finished installation verify your Oracle Java version by typing following:
test@ubuntu:~$ java -version
Toy will receive output with current latest version. Output is omitted:
java version “1.8.0_74”
Java(TM) SE Runtime Environment (build 1.8.0_74-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.74-b02, mixed mode)
Now type following in order to customize Java:
Java control panel will appear (Slide 2).
That`s it, keep an eye on www.it-tutorials.net as we will continue with more tutorials . On our website you will find a lot of tips and tricks for any IT field !