My Java application needs to know what version of IE (if any) is installed on the local machine, and querying the registry seems like the easiest way. What registry key and value should I look up?

This needs to work on Windows XP, Windows Server 2003, and later.