Added install-deps script.

This commit is contained in:
Winston Li 2014-12-05 20:57:05 +00:00
parent 0438e501f9
commit 07cea76931

View file

@ -0,0 +1,9 @@
if [ "$(id -u)" != "0" ]; then
echo "You must be root to install deps" 1>&2
exit 1
fi
apt-get update
apt-get install ant
apt-get install openjdk-7-jdk
update-alternatives --set java /usr/lib/java-7-openjdk-amd64/jre/bin/java
update-alternatives --set javac /usr/lib/java-7-openjdk-amd64/jre/bin/javac