Microsoft KB Archive/817855

= FIX: Java Runtime Does Not Initialize the Windows Media Player 9 OCX Control in Netscape Navigator =

Article ID: 817855

Article Last Modified on 12/30/2006

-

APPLIES TO


 * Windows Media 9 Series Software Development Kit
 * Microsoft Windows Media Player 9 Series
 * Microsoft Windows Media Player 9 Series
 * Microsoft Windows Media Player 9 Series
 * Microsoft Windows Media Player 9 Series

-



SYMPTOMS
If you use a version of Netscape Navigator that has an embedded  tag for the Windows Media Player 9 Series OCX control, the Java Runtime may not initialize the control. You receive the following error message:

General Failure java.lang.NoClassDefFoundError: sun/awt/DrawingSurface at WMPNS.WMP.getHWND(WMP.java) at WMPNS.WMP.start(WMP.java) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source) java.lang.NoClassDefFoundError: sun/awt/DrawingSurface at WMPNS.WMP.getHWND(WMP.java) at WMPNS.WMP.start(WMP.java) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source)



CAUSE
This problem occurs because the Windows Media Player 9 Series OCX control uses methods that are no longer supported by Netscape.



RESOLUTION
The following file is available for download from the Microsoft Download Center:

Download the WindowsMedia9-KB817885-x86-ENU.exe package now.

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date         Time   Version            Size    File name 28-Mar-2003 01:07  9.0.0.3002        208,896  Wmpns.dll 20-Mar-2003 16:21                     28,061  Wmpns.jar



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.



MORE INFORMATION
This fix is installed in the applet location of the latest version of the Java Runtime that is installed on the client computer. Under certain circumstances, events do not always fire in the client side script. The client is denied access in the Java console. At the time that this article was published, Microsoft did not have a fix for this issue. Web developers can work around this in two ways:  Use the ActiveX programming model with Netscape Navigator 7.1: Netscape Navigator 7.1 permits the Windows Media Player 9 Series OCX control to be embedded in Netscape by using code techniques that are similar to those for Microsoft Internet Explorer.  Host the .jar file from the Web site: If the .jar file does not exist in the Java Runtime directory, a Web developer can modify the Web site code to host the .jar file. If the Web site is the source of the .jar file, events should work. The modified  code may look similar to the following code:  

The third-party products that are discussed in this article are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.

Keywords: kbdownload kbfix KB817855

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.