Created
June 22, 2016 17:19
-
-
Save vigneshncc/2e4f9cbb8a3c138b128bc623389282da to your computer and use it in GitHub Desktop.
This installs JDK 7 / 8 (which includes Java JDK, JRE and the Java browser plugin
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
sudo add-apt-repository ppa:webupd8team/java | |
sudo apt-get update | |
sudo apt-get install oracle-java7-installer | |
# or if you want JDK 8: | |
sudo apt-get install oracle-java8-installer | |
# these commands install Oracle JDK7/8 and set them as default VMs automatically: | |
sudo apt-get install oracle-java7-set-default | |
sudo apt-get install oracle-java8-set-default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment