Plugin_JavaVer Property (.NET)

 

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:

 

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:

Additional Steps Required for Java based properties

JavaVersion Property (.NET)

JavaVendor Property (.NET)

JavaEnabled Property (.NET)

MSJVMBuild Property (.NET)

JavaAppletsProperty (.NET)

CompareVersions Method (.NET)