Exactly.
Any government can make a supercharged weapon. But to make it practical, not massively expensive, mobile and actually usable is something entirely different.
Even the Navy's rail gun is downright questionable given the necessary power requirements as well as the problems of using it more then once during combat as the rails that make up the barrel are toasted after the first round. We know it works. But is it practical?