Fix Java translation.