Hunter was sent to the University of Edinburgh, but soon left it to join the navy as a captain's servant to Thomas Knackston on HMS Grampus in May 1754.
Hunter blev derefter sendt på University of Edinburgh, men forlod det hurtigt og gik ind i flåden som skibsdreng for Thomas Knackston på HMS Grampus i maj 1754.