The information in this article applies to:
SUMMARY
Often a Java applet may need some other Java classes to be available on the client's machine. If the client's machine does not have these classes installed, the Java applet generates a ClassNotFoundException error. MORE INFORMATIONThe following file is available for download from the Microsoft
Download Center. Click the file name below to download the file: MultiDU.exeThe sample is contained in the self-extracting file, MultiDU.exe. When you download and execute this file, it installs the sample files on your machine at the location you specify. The sample is a Visual J++ 6.0 solution containing four projects: the applet (MyApplet), three projects that are packaged as signed CAB files (One, Two, Three), and two HTML files (DUs, Applet). Each of the CAB file projects (One, Two, and Three) contain a class that is used by the Applet. Use Visual J++ 6.0 to build the solution. Once built, you can use Internet Explorer to open the DUs.htm file. This file contains three applet tags that download each of the three DUs; you will be asked to accept the test certificate for each DU. Once that page is loaded, then the DHTML window.onload() script event handler method gets called to load the applet page. This method gets called only after all applet tags have been processed (and thus all classes have been installed from the CAB files). The Applet uses the three classes that were downloaded and installed by the DUs page. If one of those classes is not found (for example, you chose not to accept one of the certificates), then an appropriate error appears. REFERENCESFor 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:
Keywords : kbfile kbVJ600 kbGrpJava kbDSupport |
Last Reviewed: January 11, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |