2013-08-18 11:34:42 -04:00
|
|
|
# why oracle java?
|
|
|
|
# because icetea has errors. After spending near 30 hours trying to negotiate icetea screw ups
|
|
|
|
# I realized: why bother?
|
|
|
|
|
2013-09-16 14:58:37 -04:00
|
|
|
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
|
2013-08-18 11:34:42 -04:00
|
|
|
|
|
|
|
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."
|