fix java compile version