java.lang.ClassNotFoundException Thrown by ClassLoader
on com.ms.* Package
Symptoms
When running an applet in a browser by using the Sun JavaTM Runtime Environment (JRETM), a java.lang.ClassNotFoundException
is thrown by ClassLoader on the com.ms.* package.
The same applet runs without any error under the Microsoft Virtual Machine (VM).
Cause
The Microsoft VM provides many proprietary class libraries, including
J/Direct, Application Foundation Classes (AFC), and Windows Foundation Classes (WFC). These packages are not available in the Sun JRE,
so a java.lang.ClassNotFoundException is thrown when an applet runs in the browser.
Resolution
Migrate the applet source code from using the Microsoft
proprietary class libraries to similar classes in the Java platform. The following table shows a list of Microsoft VM and Java Platform class libraries: