![]() Install it with the following command - $ sudo apt-get install oracle-java8-set-default Notes ![]() The ppa repository contains another package, that sets Oracle Java as the default java runtime. Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode) Java(TM) SE Runtime Environment (build 1.8.0_91-b14) Run the java command again to check the version and vendor. It should finish in a couple of minutes depending on your internet speed $ sudo apt-get install oracle-java8-installerĪfter the installation is finished, Oracle Java is setup. This installer is going to download the actual Oracle JDK from the Oracle website. Now install the package named "oracle-java8-installer". $ sudo apt-add-repository ppa:webupd8team/javaĪfter setting up the ppa repository, update the package cache as well. This first thing to do is to setup the webupd8 ppa on your system. ![]() The following steps should work on Ubuntu 15.10 or Linux Mint 17 and other similar Ubuntu based linux distros. In the above example OpenJDK is installed already, and is going to be replaced with Oracle Java. OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode) ![]() įirst check your existing java installation with the java command - $ java -version The package downloads the latest oracle java builds in the background and then installs and configures it. However in this post we shall be installing Oracle Java using a ppa package maintained by the WebUp8 team. Oracle Java can be downloaded from the official website over here.
0 Comments
Leave a Reply. |