The food preservation guide for canning says that if you are going to water-bath the jars filled with jam for 10 minutes, you don’t have to. However, I always sterilize both the jars and lids in a pot of boiling water for 10 minutes, just to be on the safe side and I recommend you do the same.