Add Java classes.