Last active
January 20, 2016 09:25
-
-
Save dungdt88/04697b6667b73a65a55d 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
## Add openjdk PPA | |
sudo add-apt-repository ppa:openjdk-r/ppa | |
## Update the repo | |
sudo apt-get update | |
## Install openjdk-8-jdk | |
sudo apt-get install openjdk-8-jdk | |
## Set the default Java | |
sudo update-alternatives --config java | |
## And set default Java Compiler by running: | |
sudo update-alternatives --config javac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment