As mum says a good long soak in hot water & washing up liquid, works, sometimes a scrape then with a knife, to remove the residue, fill the jar with very hot water & use a Brillo pad, good wash & then I put through the dishwasher, before sterilising just before use in the oven. I now do them as I get them as it’s a big job on the day of jam making otherwise.