Add Java support.