fixed java version error