1 Reply Latest reply on Feb 21, 2013 6:44 PM by TPD-Opitz

    How does Javascript's versionCheck function work?

      I am familiar with the versionCheck function in JavaScript, such as in this example:
      if (deployJava.versionCheck('1.7.0_13'))
      jvmClassId = "1.7.0_13";
      I understand that this function will check if a particular version or range of JRE versions is installed on the client.
      However, I am trying to find an explanation of exactly how the versionCheck function makes this determination behind the scenes. That is, what does JavaScript look for on the computer (such as, does it look at the add-ons in Internet Explorer)? I have been scouring the Internet but can't find a detailed explanation.
      I'd appreciate if anyone could explain this function.