Last active
January 20, 2018 14:59
-
-
Save angelotrivelli/5d6f50b5de0b16e2f32edfe9624fccdb 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
#!/usr/bin/env bash | |
set -e | |
set -x | |
java -version | |
yes | sudo yum install -y java-1.8.0-openjdk-devel | |
sudo /usr/sbin/alternatives --set java /usr/lib/jvm/jre-1.8.0-openjdk.x86_64/bin/java | |
sudo /usr/sbin/alternatives --set javac /usr/lib/jvm/java-1.8.0-openjdk.x86_64/bin/javac | |
yes | sudo yum remove java-1.7.0-openjdk | |
java -version | |
wget https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein | |
sudo mv lein /usr/bin/ | |
chmod a+x /usr/bin/lein | |
lein |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment