Automate Java 7 installation (with apt-get install -y)