From 1679 to 1682, he was a judge at the Court of Appeal of Friesland and thereafter returned his position as professor of law until his death in 1694.
His major work, De jure civitatis libri tres, was published initially in 1672 and continued to be revised until 1694.
Huber considered captivity in war, criminal conviction, voluntary renunciation of liberty, and birth from a female slave legal grounds for slavery.
In the Netherlands, he is also well known for his work Heedensdaegse Rechtsgeleertheyt soo elders, als in Friesland gebruikelijk (1686, 1768) (The Jurisprudence of My Time).
In 1672, he became engaged in the public polemic about the Frisian constitution then raging in and around the States of Friesland with his pamphlet Spiegel Van Doleancie En Reformatie, Na den tegenwoordigen toestant des Vaderlandts (Mirror of Appeal and Reform, concerning the current situation of the Fatherland).