You asked:

what is the connection between elizabeth i of england and james ii of england

Sorry, I don't yet have an answer to that question.