Chop rhubarb into small pieces and mash blackberries lightly.
Place rhubarb, blackberries, and lemon juice into a large heavy pot.
With pectin: Stir in pectin, bring to a rolling boil, add sugar all at once, boil hard for 1–2 minutes, then remove from heat.
Without pectin: Add sugar and cook over medium heat, stirring often, until jam thickens (30–40 minutes). Test by spooning jam on a chilled plate, if it wrinkles, it’s ready.
Ladle hot jam into sterilized jars, leaving ¼ inch headspace.
Wipe rims, seal, and process jars in a boiling water bath for 10 minutes.
Let cool undisturbed for 3 hours. Store sealed jars in pantry for up to 1 year.