BrowserHawk IQ now available! Click here for the full scoop!
Search:
jvmdetector based properties returning -2 and reporting incompatible magic value
Created: 10/18/2007    Updated: 5/11/2008
Q   I am trying to use some properties which require the jvmdetector.class applet. However the properties are returning -2 and I'm seeing a 'java.lang.ClassFormatError: Incompatible magic value' message in the error console.

A   This error most likely indicates that your jvmdetector.class file is not being found by the browser. This can happen because the jvmdetector.class applet is not in the same directory as the script running this BrowserHawk check, or because the JVMCodeBase property is being used but not pointing at the correct location.

The easiest way to resolve the issue is to place the jvmdetector.class file in the same directory where your web page running BrowserHawk resides. Otherwise make sure that the JVMCodeBase properly points to the applet.

    FAQ Home  |  Search FAQ  |  Show New Items  |  Ask a FAQ  |  Notify Me  |  Most Popular     
 
 
Copyright © 1994-2020 cyScape, Inc. All Rights Reserved. ()
ASP, ASP.NET, ColdFusion MX, CFMX, JSP, PHP