Update install.sh for Java7