Measure the sugar and wine into a large pan. Cook, stirring, over medium heat until mixture is just below the boiling point. Continue stirring until sugar is dissolved, about 5 minutes, but do not boil.
Remove from the heat and at once stir in the pectin. Mix well and skim off the foam. Quickly pour into sterile jars and seal.