A fix for downloading Java. Closes issue #64