Nestler studied philosophy, theology and law in years 1800–06 at the
Olomouc Academical Lyceum (the University of Olomouc was degraded to academical lyceum in 1782–1826). Then in years 1806–12 he was an educator in
Althart / Staré Hobzí and in years 1812–18 he was a director of a high school in
Klafterbrunn,
Lower Austria. In years 1818–20 he received technical education in agriculture. He studied agriculture at the
University of Vienna in years 1820–21, where he later also worked as
adjunct at the Department of Agriculture. In year 1823 Nestler became the professor of agriculture, and in 1824 also of natural history, at the
Academy of Nobility and at the
academical lyceum in
Olomouc. After the lyceum was restored to University status, Nestler obtained
Doctorate of Philosophy. In 1835 he became the rector of the university and in 1837 he became the dean of its
Faculty of Philosophy. According to Wood and Orel the search for rules of heredity in sheep created an atmosphere of enquiry about heredity in general, which had influence on later work of
Gregor Johann Mendel, himself a student at the Faculty of Philosophy in 1840–43. Nestler was also a very active member of the
Moravian-Silesian Society for Advancement of Agriculture (, in which he, among other things, organized the
4th International Congress of Farmers and Foresters (1st time in the lands under control of
Austrian Habsburgs) in
Brno in 1840. He was also member of many similarly oriented associations and wrote a lot of literature on the topic. == Main works ==