Created
December 14, 2020 13:50
-
-
Save tiagotele/7d8a7404a741ddd39d7929e82979dcb5 to your computer and use it in GitHub Desktop.
Get and set java versions
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
sudo update-alternatives --config java | |
#There are 2 choices for the alternative java (providing /usr/bin/java). | |
# Selection Path Priority Status | |
#------------------------------------------------------------ | |
#* 0 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1111 auto mode | |
# 1 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1111 manual mode | |
# 2 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081 manual mode |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment