Most theorists and most people think the first example is true.
“Killing in personal self-defense is justified thus killing in war is justified”.
The does not necessarily mean that a person supports war.
o But, if war starts it is legitimate for soldiers to kill in “defense” of their country