Add Java-settings.