Created
January 2, 2020 19:27
-
-
Save sonOfRa/c3113ceb9a0d712384db9fa6a9208fea 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
$ sudo update-alternatives --set javac /usr/lib/jvm/java-8-openjdk-amd64/bin/javac | |
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode | |
The command "sudo update-alternatives --set javac /usr/lib/jvm/java-8-openjdk-amd64/bin/javac" exited with 0. | |
0.01s$ sudo update-alternatives --set java /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java | |
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java to provide /usr/bin/java (java) in manual mode | |
The command "sudo update-alternatives --set java /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java" exited with 0. | |
0.00s$ which java | |
/usr/local/lib/jvm/openjdk11/bin/java | |
The command "which java" exited with 0. | |
NaNs$ java -version | |
openjdk version "11.0.2" 2019-01-15 | |
OpenJDK Runtime Environment 18.9 (build 11.0.2+9) | |
OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment