Created
June 21, 2018 17:03
-
-
Save phillipsj/950235f411dec9e0e90e199c6dde12e9 to your computer and use it in GitHub Desktop.
Quick little installation script for installing AdoptOpenJDK on Ubuntu 16.04.
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
wget -q https://github.com/AdoptOpenJDK/openjdk8-releases/releases/download/jdk8u172-b11/OpenJDK8_x64_Linux_jdk8u172-b11.tar.gz | |
tar -xf OpenJDK8_x64_Linux_jdk8u172-b11.tar.gz | |
sudo mkdir /usr/lib/jvm && sudo mv jdk8u172-b11 /usr/lib/jvm/jdk8u172-b11 | |
export JAVA_HOME=/usr/lib/jvm/jdk8u172-b11 | |
export PATH=/usr/lib/jvm/jdk8u172-b11/bin | |
java -version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you!! You just threw me this floaty :P