Generally, the fruit will last longer in glass jars. They’re highly effective at keeping fruit away from air and moisture that can cause fresh and dried fruit to deteriorate. Some argue that storing fruit in glass jars makes it more attractive, so it is eaten faster, but that’s not scientific.