To make nitroglycerin, you need glycerol, sulfuric acid, and saltpeter. And ideally an ice bath. The latter two are obtainable in Japan with its volcanos and stuff, especially if they already have the infrastructure for making gunpowder.
Getting somewhat pure glycerol is hard; you can get it...