Add Java setting.