Živojin was the youngest child, and when he was born, only eight of his brothers and sisters were still alive. When he turned 6, he became a shepherd. He finished primary school in Kragujevac. In his memories, he mentions troubles he had with the city kids that teased him because of his peasant origin. In 1868, he started his gymnasium education in Kragujevac, where he finished the 1st, 2nd, and 6th grade. He finished the third and fourth grade in Belgrade. In the first five gymnasium grades he was not a particularly good student, but he finished the 6th grade with much greater success. Because of that, he was admitted to the Military Academy in 1874, ranked 19th. On every holiday he visited his village, and often he worked in the field with his brothers. Later, on 25 November 1884, he married a German woman, Louise Krikner (1865-1956), at Ascension Church in Belgrade, and they had six children, three sons and three daughters.