The information in this article applies to:
NOTE: The information in this article applies specifically to version 4.79.2252 of the Microsoft virtual machine, which is included in the products listed at the beginning of this article. SYMPTOMS
A Java applet or program that attempts to load certain valid Java classes
may fail with a NoClassDefFoundError exception.
CAUSEThe Microsoft virtual machine verifies that the .class file that defines each Java class is valid before loading it. Version 4.79.2252 erroneously decides that certain .class files are not valid, and therefore, fails to load them. When it fails to find a valid definition for a class, the Microsoft virtual machine throws a NoClassDefFoundError exception. RESOLUTIONDownload and install the current Microsoft virtual machine from the following Web site: http://www.microsoft.com/java/download.htm STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug was corrected in Microsoft virtual machine, version 4.79.2334 and later. MORE INFORMATIONOne class that the Microsoft virtual machine fails to validate is the HashMap class from ObjectSpace's JGL class library. It is possible to produce other .class files that the Microsoft virtual machine will fail to validate using a Java compiler, including Microsoft's Visual J++ or SDK 2.0 for Java. Steps to Reproduce BehaviorIf you have JGL and SDK 2.0 for Java, the following program will exhibit this bug:
Version 4.79.2252 of the Microsoft virtual machine throws a NoClassDefFoundError.
Version 4.79.2334 of the Microsoft virtual machine executes this with no errors.
REFERENCES
JGL is manufactured by ObjectSpace, Inc., a vendor independent of
Microsoft; we make no warranty, implied or otherwise, regarding this
product's performance or reliability.
http://www.objectspace.com/jgl/For the latest Knowledge Base articles and other support information on Visual J++ and the SDK for Java, please see the following pages on the Microsoft Technical Support site: http://support.microsoft.com/support/visualj/ Additional query words: NoClassDefFoundError
Keywords : kb3rdparty kbJavaVM kbSDKJava |
Last Reviewed: November 16, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |