After finishing studies in Prague he went to teach in Jičín, subsequently lecturing mathematics at the University of Wrocław, finally also returning to the University of Olomouc, where he obtained Doctorate of Philosophy, became professor of mathematics and, in 1712, a fully-fledged member of the Jesuit Order .[3] In 1714 he went to Brno, where his work involved assisting his former Olomouc professor Jakub Kresa. Soon after this, he decided to become missionary. Because of his knowledge of mathematics as well as music, it was decided that he should be sent to China.[2]
In 1715 he left Brno for Prague, where he joined Ignaz Kögler. Together they went to Lisbon, where they joined with a Jesuit from Portugal. On 13 March 1716, they left for China. It took them 170 days to get there, surviving a major storm, during which many of their belongings were damaged.[2]
In China
Depiction of Kangxi Emperor, who ordered Slavíček to make a precise map of Beijing in 1717
After reaching Macao they acquired local clothes and adopted local haircuts. On 3 February 1717, Slavíček was introduced to the Kangxi Emperor in Beijing, who employed him as a court musician. (Slavíček was a Spinet player).[2]
In 1717 Slavíček made the first precise map of Beijing, putting to use know-how obtained previously while working on the map of Prague. At the same time he clarified the latitude of Beijing.[2]
Slavíček soon became ill and left Beijing in order to recover away from the city. Meanwhile, the Kangxi Emperor was succeeded in 1722 by the Yongzheng Emperor, who was much less friendly towards Christians. Yongzheng ordered all the Jesuits in China to be accommodated in Beijing: consequently, Slavíček had to return there.[2]
Slavíček learned the Chinese language rather fast. He worked on astronomy and mathematics and compiled a Treatise on Chinese music: however, this treatise has not survived. Although forced to move back to Beijing, Slavíček did not become isolated. Indeed, he was in frequent contact by letter with European scientists, such as Stéphane Souciet and Guillaume de L'Isle. Many of the letters have been lost, but those that survive provide insight into Slavíček's life in China, and are now housed in the library of Strahov Monastery.[2]
Slavíček died after 18 years in China; he was succeeded by another Czech Jesuit, Jan Walter of Bílina.[2]