mailiverse/install/setup-java.remote

19 lines
631 B
Plaintext
Raw Normal View History

# why oracle java?
# because icetea has errors. After spending near 30 hours trying to negotiate icetea screw ups
# I realized: why bother?
2013-09-17 23:09:19 -04:00
apt-get install software-properties-common --yes
2013-10-03 00:00:30 -04:00
apt-get install python-software-properties --yes
add-apt-repository ppa:webupd8team/java --yes
apt-get update
echo "yes
yes" | apt-get install oracle-java7-installer --yes
#echo "yes
#yes" | apt-get install oracle-java6-installer --yes
echo "Check the version after running this script, if it is not sun java then"
echo "read this: http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html"
echo "and do what it says."