Wash and sort the berries, discarding stems or any damaged fruit. Set out clean jars, lids, and bands.
Combine blueberries and huckleberries in a large heavy-bottomed pot. Mash about half the berries with a potato masher, leaving some whole for texture.
Stir in the lemon juice and powdered pectin. Bring the mixture to a rolling boil over high heat, stirring frequently so it doesn’t stick.
Add all of the sugar at once and stir to dissolve. Return to a rolling boil that doesn’t stop bubbling when you stir.
Boil hard for exactly 1 minute, stirring constantly.
Remove from heat. Skim off any foam if needed.
Ladle hot jam into hot, clean half-pint jars, leaving about 1/4 inch headspace. Wipe rims, add lids, and screw on bands until fingertip-tight.
Process jars in a boiling-water bath for 10 minutes (adjust for altitude if needed). Carefully remove jars and let cool undisturbed on a towel for 12–24 hours.
Check seals (the lid should not flex when pressed). Label and store sealed jars in a cool, dark place. Refrigerate any unsealed jars and use within 3 weeks.