Automate Java 7 installation