lifespan of homemade preserves?

I’m looking to make some jams and jellies for Christmas gifts this year, but I have no idea how long this stuff lasts. I’d like to make it ahead of time, but what’s a good life expectancy for this stuff? I’m making strawberry jam, blueberry jam, pear and lime jelly.

Thanks!!

Related posts:

  1. A question about homemade jams and jellies…?
  2. Good homemade jam/jelly recipes?
  3. Does anyone have a recipe for acai jelly? Not the make it wiggle jelly but homemade spread.?