Fix JDK download script