Cannot speak for other countries, but in the UK, military pilots do not hold pilot's licences - it is an entirely separate system of regulation. This can make the transition into civil aviation on retirement from the forces harder than it deserves to be.