catroej 0 Newbie Poster

All,

Problem:
I need to be able to tell which version of the Java plugin is installed on a clients machine.

I require JRE 1.5 for my applets. I have users that range from Java 1.3 to Java 1.6.

I would like to use javascript to find out the version they have on their PC. If they are 1.5 or later I would display my applet links else if they are earlier then 1.5 I would display the message "Please load Java 1.5 or later to access the Applet links".

I have basic code in place, except I have not come up with a good way to test for the Java version, other then opening a Java Applet and getting the java version. This works fine for 1.5 and later, but not for earlier versions of java. I'd like to use the document object to try and get the Java object information (kind of like how AJAX checks to see if the AJAX object exists).

Sorry to be so long winded, but I did not know the best way to ask my question.
Thanks in advance Ed C.