Enclosed is sample code for sniffing Java settings with BrowserHawk.
This code requires BrowserHawk 9.0 or later, available from
http://www.cyscape.com/.

The code samples are provided in classic ASP, ASP.NET (both as C# and
VB.NET), ColdFusion MX, and JSP. Check the approrpriate subdirectory
within this distribution to obtain the sample source in your preferred
programming language.


*** IMPORTANT NOTE ***

In order for BrowserHawk to detect Java details you must place the
JVMDetector.class file into the same web directory where your
script that detects Java settings resides. Or, you can place it in
a different web directory as long as you use the JVMCodeBase property
to tell BrowserHawk what the path is to the file.  This file is part
of the BrowserHawk software and can be found within your installed
BrowserHawk files on your system.  If this file is not in the right
location, the Java tests will not work and typically return -2
for JavaVendor and JavaVersion properties.  The sample script checks
for these values and alerts you if it thinks the file may be missing.
----

License:

These samples are part of the BrowserHawk Software and covered under
the terms and conditions of the BrowserHawk End User License Agreement.
You may use or modify these samples for use in your application that
uses BrowserHawk to perform Java testing.

http://www.cyscape.com

Copyright (c) 2005 cyScape, Inc.  All rights reserved.
