who is james ii of england?
He was King of England and Ireland as James II. And King of Scotland as James VII.
James II of England
James II and VII (14 October 163316 September 1701) was King of England and Ireland as James II, and King of Scotland as James VII, from 6 February 1685 until he was deposed in the Glorious Revolution of 1688. 
wiki:16124100
James II of England [SEP] Introduction
James II and VII (14 October 163316 September 1701) was King of England and Ireland as James II, and King of Scotland as James VII, from 6 February 1685 until he was deposed in the Glorious Revolution of 1688. He was the last Catholic monarch of England, Scotland and Ireland; his reign is now remembered primarily for struggles over religious tolerance. However, it also involved the principles of absolutism and divine right of kings, and his deposition ended a century of political and civil strife by confirming the primacy of Parliament over the Crown. James inherited the thrones of England, Ireland and Scotland from his elder brother Charles II with widespread support in all three countries, largely based on the principles of divine right or birth.