I'm no expert, but:
I have basic screw lid and bail lid glass jars and they seem to work just fine for my needs. (They don't have this extra lid that ball jars and mason jars have). I have some tobaccos in them that are four years old and still moist. Depends on the jar though, there are different types. I have some bail jars where the tobacco dried out and others where it didn't. They are a gamble.
I tried these jars where pickles or other similar jarred foods come in and they didn't work. They don't seal well after opening them for the first time. These look somewhat similar to those although unused.
Mason jars are hard to come by here, they seem to be mostly American thing? They might be the best thing if one buys in bulk and keeps it stored for decades. My tobaccos are tin or pouch only and I jar fairly small quantities (basically only my rotation, some just get smoked very infrequently).