Add Java settings.