Type: String
Returns a string with the build number of the Java plug-in, if installed. For IE on Windows this information is returned as "1.3-" if the version is 1.3 or earlier, and "1.4+" if the version is 1.4 or later. Other browsers that support this test will return more specific version information, such as "1.3.0_01".
Tip: Use this property in conjunction with JavaVersion to determine whether to load your applet
using an applet tag or an embed/object tag, depending on which JVM on the user's machine you prefer to have your applet run on.
Tip: Want to determine whether a visitor on Windows XP is using the Microsoft JVM (not installed with XP by default) or the Java plug-in? Just check the MSJVMBuild and Plugin_JavaVer property – if MSJVMBuild is an empty string yet Plugin_JavaVer tells you the plug-in is installed, then the visitor is using the Java plug-in instead of Microsoft’s JVM.
Note: Use of this property requires the Enterprise Edition of BrowserHawk.
Special notes for this property:
Not all browsers are capable of having their plug-ins detected. If this is the case, or if the plug-in is not installed, the return value will be an empty string.
This property is not available for IE 5.x or earlier for Windows due to instability issues and conflicts we encountered between the Java plug-in and IE during testing.
Related to the above item, testing for Plugin_JavaVer on IE 6.x and later browsers in some circumstances can cause the browser to shutdown unexpectantly when older versions of the plugin are in use. Therefore this property is not set to be checked when the default "all" keyword is used with AddProperties or GetExtendedBrowser. To check this property you must explicitly pass "Plugin_JavaVer" instead. For example: AddProperties("all, Plugin_JavavVer") or AddProperties( "Plugin_JavaVer"). In the majority of cases you will likely find that this test executes properly, however you should use this test only if absolutely necessary for your application. Knowing that in some cases you may shut the user’s browser down as a result. In our testing this shutdown issue has occurred with older versions of the Java Plugin. We have not seen it occur with 1.4 or later.
C# Example:
<%
ExtendedOptions options = new ExtendedOptions();
options.AddProperties("Plugin_JavaVer");
ExtendedBrowserObj extBrow = BrowserObj.GetExtendedBrowser(options);
%>
<html>
Plugin_JavaVer: <% Response.Write(extBrow.Plugin_JavaVer); %>
</html>
See Also: