James II ( 16 October 1430 â `` 3 August 1460 ) was King of Scotland from 1437 through 1460 . He was born at Holyrood Palace , Edinburgh . James II ( Holyrood Palace , Edinburgh , 16 October 1430 -- 3 August 1460 ) reigned as King of Scots from 1437 to 1460 .