Microsoft and Sun have slightly differing implementations of the JVM browser plug in. Additionally, Internet Explorer can be configured to use either the Sun or Microsoft JVM, so knowing which browser is being used is not enough information to determine the JVM vendor.
Having access to the version and vendor information of the JVM can help you branch your JFile code in the event that an implementation difference between vendors or versions affects the behavior of JFile. Javascript can only be used to return the version number of the JVM for Netscape. To determine the vendor and version of the JVM in both Internet Explorer and Netscape, you must use a java applet. This KB article will provide you with the Java code necessary for JVM vendor and version detection. |