Stir fruit and sugar together in a saucepan. Let sit for 10 minutes. Add the pectin and lemon juice. Bring to a rolling boil over medium heat. Boil, stirring constantly, for 5 minutes. Reduce heat to low cook, stirring, for 3 more minutes. Take off the heat and stir in the herbs. Let cool for 10 minutes.
Pour the jam into clean jars. Cover with the lids. Let cool completely. Refrigerate for up to 1 month.