Fix java8 install script