fixed java version problem