Life and work in Australia
Barry arrived in New South Wales in April 1837 and was admitted to the New South Wales Bar. After two years in Sydney, Barry moved to Melbourne, a city with which he was ever afterwards closely identified, arriving at the new Port Phillip Settlement on 13 November 1839.
In 1841, Barry served as the defence lawyer for Tunnerminnerwait and Maulboyheenner, two Indigenous rebels on trial for murder. Barry questioned the legal basis of British authority over Aborigines who were not citizens and claimed that the evidence was dubious and circumstantial. Despite his best efforts, the two men were found guilty and subsequently hanged on 20 January 1842, becoming the first people in Victoria to be legally executed.
After practising his profession for some years, he became commissioner of the Court of Requests, and after the creation in 1851 of the colony of Victoria, out of the Port Phillip district of New South Wales, he became the first Solicitor-General of Victoria, with a seat in both the Legislative and Executive Councils. In 1852, he was appointed a judge of the Supreme Court of Victoria. Later he also served as acting Chief Justice and Administrator of the government.
Barry was noted for his service to the community, and he convinced the state government to spend money on public works, particularly on education. He was instrumental in the foundation of the Royal Melbourne Hospital (1848), the University of Melbourne (1853), and the State Library of Victoria (1854). He served as the first chancellor of the university until his death and was also president of the trustees of the State Library. He was the first President of the Ballarat School of Mines (1870), which later became Ballarat University and is now Federation University Australia.
Barry was the judge in the Eureka Stockade treason trials in the Supreme Court in 1855. The thirteen miners were all acquitted.
In 1857, Barry conducted the inquest into the murder of Inspector-General John Giles Price, who was beaten to death by a group of at least 15 convicts during an inspection of the prison quarries in Williamstown, Victoria. Seven of the convicts involved in the attack on Price were found guilty, and sentenced to death by hanging. The seven men were executed at Melbourne Gaol within a three-day period from 28 to 30 April.
He chaired the committee for the Victorian Intercolonial Exhibition in Melbourne, and represented Victoria at the London International Exhibition of 1862 and at the Philadelphia Exhibition of 1876. He was made a knight bachelor in 1860, and was created a Knight Commander of the Order of St Michael and St George (KCMG) in 1877.