Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ankitsablok89/d42243e560227e26196bb815fe988e17 to your computer and use it in GitHub Desktop.
Save ankitsablok89/d42243e560227e26196bb815fe988e17 to your computer and use it in GitHub Desktop.
Gist-5 : Peloton "Installing JDK-8" on Ubuntu Machine
1) sudo add-apt-repository ppa:webupd8team/java
2) sudo apt update
3) sudo apt install oracle-java8-installer
4) sudo apt install oracle-java8-set-default (To set Java environment variables automatically)
After executing all the above commands you should be able to see the output of "javac -version" as "javac 1.8.0_131"
5) sudo apt-get install eclipse eclipse-cdt (Install the Eclipse CDT Plugin)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment