Last active
April 14, 2018 09:07
-
-
Save Addvilz/cf6f9a6cc0f8d6bd19aee6884225b4bd 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
# Download tar.gz and then update-alternatives --config java and choose appropriate slot. | |
update-alternatives --install /usr/bin/java java /opt/openjdk/openjdk-11-ea+9_linux-x64_bin/jdk-11/bin/java SLOT | |
update-alternatives --config java | |
# Also gradle | |
update-alternatives --install /usr/bin/gradle gradle /opt/gradle/gradle-4.6/ 1 | |
# Also maven | |
update-alternatives --install /usr/bin/mvn mvn /opt/maven/apache-maven-3.5.3/bin/mvn 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment