Automate Java 7 installation (cat != echo)