Last active
February 19, 2018 22:37
-
-
Save xmppjingle/aa119f7e6085036198e25b73485c8831 to your computer and use it in GitHub Desktop.
This file contains 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
#!/bin/bash | |
sudo apt-get update | |
# Properties | |
sudo apt-get install -y software-properties-common | |
# Add Repos | |
sudo add-apt-repository "deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" | |
# Update | |
sudo apt-get update | |
# Install Java | |
sudo apt-get install -y oracle-java8-installer | |
# Check | |
javac -version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment