Add Java Parts