Fixed a bug stopping Java 7 from being installed