Cellophane lids on jam
If you want the result to be shelf stable, you need to follow a proper procedure to either process the jam in a water bath or in a pressure cooker. Just placing the lids on the jam (either hot or cold) is not considered safe. Your jam is fine if you want to store it in the refrigerator, but not otherwise.