Hi,
our application needs to check for the installed java (jre) version and if the minimum version is lower than 1.8.0_100 the jre will be downloaded from our server.
Until now i am using a registry check on the key "HKLM\SOFTWARE\JavaSoft\Java Runtime Environment" and check if it is at least 1.8.0 ...