The key is to monitor the temperature and consistency closely. Using a candy thermometer can help. The jam should reach 220°F (105°C) to set properly.