TOKYO — A court in Japan ordered one of only two nuclear power plants operating in the country to shut down on Wednesday, citing insufficient safety measures put in place after meltdowns at a facility in Fukushima five years ago.

The plant, Takahama Nuclear Power Plant, had been back online for only two months after an extended freeze on atomic power in Japan in the aftermath of the March 2011 Fukushima disaster.

Japan’s government and its power companies have struggled to get the nuclear industry back on its feet. Despite new safety standards introduced in 2013, much of the public remains wary. Only a handful of the more than 40 operable reactors in the country have met the new rules, and lawsuits have made it difficult to restart them.