how to detect java plugin version from JavaScript

I have a page running under IIS that uses JavaScript.  I have two versions of a Java applet: one compiled for jre1.4 and the second for jre1.6.  I need to be able to determine the version of java that the browser is using so I can deliver the correct applet.

There is a JavaDetect javascript script on pinlady, but it won't run under JavaScript (it is fantastic under javascript).  I would like to stay away from using another applet to do the detection, if possible.  The only browser we use is IE, so I don't need to worry about cross-browser compatibility.

Any help appreciated.
dhenderson12Asked:
Who is Participating?
 
Samuel LiewConnect With a Mentor Commented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.