Remove java requirement, allowing caller to specify method of install.