JavaVersion Property (.NET)

 

Type: String

 

Returns the Java Virtual Machine (JVM) version that an applet will execute under using the <applet> tag, or returns "" if undetectable. An example return value is "1.4.1".

 

Note: If you kept the default option of not checking for Java version / vendor during the installation, BrowserHawk did not prompt you during the install for the location of where this .class file should be stored. Instead the JVMDetector.class file was stored in your \Program Files\cyScape\BrowserHawk\JVM directory. You must copy this file to a directory accessible from your web site prior to checking the JavaVersion and JavaVendor properties.

 

Note: Use of this property requires the Enterprise Edition of BrowserHawk.

 

Special notes for this property:

 

C# Example:

<%

ExtendedOptions options = new ExtendedOptions();

options.AddProperties("JavaVersion");

ExtendedBrowserObj extBrow = BrowserObj.GetExtendedBrowser(options);

%>

<html>

JavaVersion: <% Response.Write(extBrow.JavaVersion); %>

</html>

 

See Also:

Additional Steps Required for Java based properties

JVMCodeBase Property (.NET)

JavaVendor Property (.NET)

JavaEnabled Property (.NET)

JavaApplets Property (.NET)

MSJVMBuild Property (.NET)

Plugin_JavaVer Property (.NET)

CompareVersions Method (.NET)