Uranium was not created by the Sun's energy.
The nuclear fusion occurred in the Sun is the responsible for the nucleosynthesis, which means the creation of elements, this is the formation of heavier nuclei from the fusion of lighter nuclei.
The heavier the element the higher the energy and temperature required. The Sun's temperature is enough for the sinthesis of lighter element. Elements from oxygen to iron require much more temperature. And elements heavier than iron (which includes uranium) needs the energy from the explosion of a Supernova.
So, the answer is uranium.