Created
April 7, 2019 23:22
-
-
Save wellingtonpgp/5b9634e44f1e8f053edf9e586f7b0427 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
tar -xvf jdk-11.0.2_linux-x64_bin.tar.gz | |
sudo mkdir -p /usr/lib/jvm/jdk-11/ | |
sudo mv jdk-11.0.2/* /usr/lib/jvm/jdk-11/ | |
ls /usr/lib/jvm/jdk-11/ | |
sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk-11/bin/java" 1010 | |
java -version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment