Last active
May 29, 2018 08:02
-
-
Save thanoojgithub/d407f18f17bf11877ac8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## First you need to add webupd8team Java PPA repository in your system and install Oracle Java 8 using following set of commands. | |
$ sudo add-apt-repository ppa:webupd8team/java | |
$ sudo apt-get update | |
$ sudo apt-get install oracle-java8-installer | |
## Note: last command will take several minutes, depends upon internet speed. | |
## verify installed Java Version | |
$ java -version | |
java version "1.8.0_66" | |
Java(TM) SE Runtime Environment (build 1.8.0_66-b17) | |
Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode) | |
## Configuring Java Environment | |
$ sudo apt-get install oracle-java8-set-default |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ubuntu@ubuntu:-$ tar -zxvf jdk-8u60-linux-x64.tar.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://www.tecmint.com/install-java-jdk-jre-in-linux/