Earlier quoted context omitted.
japan has limited land, no oil&gas resources, so the nuclear is the perfect source of electricity for them, plus they have the expertise.
Japan has 34 000km (21 126 miles) of coastline. They import about 90% of its energy requirements. This includes nuclear fuel. So this is far away from "perfect" if you can get wind and sun without having to import it.
how calculate yourself how much fossil fuel you need to power 1 GW power plant for half a decade, and how much CO2 emissions will you generate?
How many rail cars of coal Germany will need to generate 1 GW 24/7/365 for 5 years reliably ?
it is just unfair comparison, nuclear is several orders magnitude better in all aspects compared to fossil fuel and renewable - just due to physics of the process. Nuclear is capturing strong and weak forces, while combustion is capturing electromagnetic force with piss poor thermal efficiency and losses abound.
The only reason countries fumble nuclear energy is because they dont invest enough into new designs and constructions and still employ old design plants.
If there was as much investment into new nuclear plants as it was in renewable tech - we would have solved many of our energy needs long long time ago.