 He initially studied at Karl-Ferdinand University in Prague, later transferring to the University of Vienna, where he was a student of Ernst Wilhelm von Brücke (1819–1892).In 1866 he graduated summa cum laude.Afterwards, he remained in Vienna as an assistant to Johann Ritter von Oppolzer (1808–1871) and Theodor Billroth (1829–1894).