Fix Java named error inheritance. Also bump version