Hook up download for java