-
-
Save rdmueller/9c192c5040731b975baa1469f6c80f70 to your computer and use it in GitHub Desktop.
Quick little installation script for installing AdoptOpenJDK on Ubuntu 16.04.
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
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
macos m1:
arch
arm64
uname -m
arm64
uname -s
Darwin