fix java version problem