Created
August 16, 2017 23:43
-
-
Save abrkn/b8889907cbb72f8f5852dbdfe4cb7095 to your computer and use it in GitHub Desktop.
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 is only one alternative in link group java (providing /usr/bin/java): /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java | |
Nothing to configure. | |
$ echo 'JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java"' | sudo tee -a /etc/environment | |
JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java" | |
$ source /etc/environment |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment