updated Java version scanner, Please grade this version