Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save thanoojgithub/d407f18f17bf11877ac8 to your computer and use it in GitHub Desktop.
Save thanoojgithub/d407f18f17bf11877ac8 to your computer and use it in GitHub Desktop.
## 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
ubuntu@ubuntu:-$ tar -zxvf jdk-8u60-linux-x64.tar.gz
@thanoojgithub
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment