The following will add the Java 1.8 repos and install the latest 1.8 version.
Open a terminal an type the following
sudo apt-add-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installerJust accept the license during installation and that's it!.
You can verify installation by typing the following at the terminal
java -versionShould show something like the following (depending on the version you have installed).
java version "1.8.0_40"
No comments:
Post a Comment