Parameterize the java8 download and install script.