One way to seal the top of a 'canned' jar is to pour 1/4" of melted paraffin wax on top of what ever you are sealing. I have eaten many jars of preserved jam and jelly that was topped like this. When you break it up the wax can be reused if you carefully melt it and strain out the impurities. You lose a bit each time. Lids are better but they do degrade. You can not take a bit of this lid and a bit of that lid and make a new one. Once melted and strained the paraffin is good to go.
Some of my past neighbours would can their jam in baby food jars, screw the lid on, and dip it in paraffin wax. They where brittle and were not trusted past two years but, if that was your target, it worked fine.