Microsoft KB Archive/183411

= Cannot Use Java Controls on Web Pages =

Article ID: 183411

Article Last Modified on 10/23/2007

-

APPLIES TO


 * Microsoft Internet Explorer 4.01 128-Bit Edition

-



This article was previously published under Q183411



SYMPTOMS
When you connect to a Web page that uses Java controls, you may not be able to view or use Java programs. You may also see various script error messages.



CAUSE
This behavior can occur if the Java controls in Internet Explorer are damaged.



RESOLUTION
To resolve this issue, determine if any Java control is damaged. Remove any Java control that is damaged, extract the control from the cabinet (.cab) file that contain the control, and then register the control. The following Java controls are listed in the Windows\Downloaded Program Files folder:
 * Internet Explorer Classes for Java (contained in the Iejava.cab file)
 * DirectAnimation Java Classes (contained in the Dajava.cab file)
 * Microsoft XML Parser for Java (contained in the Xmldso.cab file for Internet Explorer 4.0, or the Xmldso4.cab file for Internet Explorer 4.01)
 * Win32 Classes (contained in the Win32ie4.cab file)

 Determine if any control is damaged. To do so, follow these steps:

 Click Start, point to Programs, and then click Windows Explorer. Open the \Downloaded Program Files folder, where is the name of your Windows folder. On the View menu, click Details.

For each of the files listed above, note any files that have a Damaged status. If any file has a Damaged status, continue with step 2.

If no file is listed as damaged, perform other Java troubleshooting steps. Remove each damaged file. To do so, click a file, and then click Remove Program File on the File menu. Repeat for each damaged file.</li> Place the .cab file or files that contain the Java controls in a temporary folder. To do so, follow these steps:

 Click Start, point to Programs, and then click MS-DOS Prompt.</li> If you installed Internet Explorer from CD-ROM, place your Internet Explorer CD-ROM in your CD-ROM drive, and then type each of the following lines, pressing ENTER after each line

<x>:

md\javatemp

<z>:

cd\win95\eng\packages

copy .cab <x:>\javatemp

where <x> is the hard disk on which you want to place temporary files, .cab is the .cab file that contains the Java control file, and <z> is the drive letter for your CD-ROM drive. See the list of corresponding .cab files for Java controls at the end of step 3.</li>  If you downloaded Internet Explorer from the Web, type each of the following lines, pressing ENTER after each line

<v>:

cd\

copy .cab <z>:\javatemp

where <v> is the source drive for the Internet Explorer Setup files, .cab is the .cab file that contains the Java control file, and <z> is the hard disk on which you want to place temporary files.

Note that if you chose to remove the Internet Explorer 4.0 Setup files, you are unable to complete step B or C until you download these files from the following Microsoft Web site:

http://www.microsoft.com/ie/

The following table lists each Java control and its corresponding .cab file. <pre class="fixed_text">     Java control                         Cabinet file -     Internet Explorer Classes for Java   Iejava.cab DirectAnimation Java Classes        Axa.cab Microsoft XML Parser for Java       Javi386.cab Win32 Classes                       Javi386.cab </li></ol> </li> Extract each required Java control file. To do so, follow these steps:

 Click Start, point to Programs, and then click MS-DOS Prompt.</li> Type each of the following lines, pressing ENTER after each line

<x>:

cd javatemp

extract .cab /e .cab

where <x> is the hard disk containing the Javatemp folder, .cab is the source .cab file for the Java control file, and .cab is the Java control file.

For example, to extract the DirectAnimation Java Classes Java control file, type the following lines from the MS-DOS Prompt, pressing ENTER after each line:

c:

cd\javatemp

extract axa.cab /e dajava.cab

For additional information about how to extract files from a cab file, see the following article in the Microsoft Knowledge Base:

129605 How to Extract Original Compressed Windows Files

</li> The Internet Explorer Classes for Java control is not contained in a .cab file, so you can simply copy it to the Windows\System folder. Type each of the following lines, pressing ENTER after each line



cd\ \system

attrib -r iejava.cab

ren iejava.cab iejava.old

<z>:

cd\

copy iejava.cab :\ \system

where is the drive letter of the hard disk containing your Windows folder, is the Windows folder, <z> is the drive letter for the hard disk or CD-ROM containing the Iejava.cab file, and is the source folder for the Iejava.cab file.

For example, if you installed Internet Explorer from the Internet Explorer CD-ROM, your CD-ROM drive is drive E, and Windows is installed on drive C, type each of the following lines, pressing ENTER after each line:

c:

cd\windows\system

attrib -r iejava.cab

ren iejava.cab iejava.old

e:

cd\win95\eng\packages

copy iejava.cab c:\windows\system

</li></ol> </li> Register the Java control files. To do so, follow these steps:

 Click Start, point to Programs, and then click MS-DOS Prompt.</li> Type the appropriate line, depending on the Java control you are registering.

NOTE: These lines are wrapped for readability purposes. Type each line as a single line when you follow these steps.

<ul> For the Internet Classes for Java control, type the following line, and then press ENTER:

start rundll32 c:\windows\system\msjava.dll,JavaPkgMgr_Install c:\javatemp\iejava.cab,0,0,0,0,0,0

</li> For the DirectAnimation Java Classes control, type the following line, and then press ENTER:

start rundll32 c:\windows\system\msjava.dll,JavaPkgMgr_Install c:\javatemp\dajava.cab,0,0,0,0,0,0

</li> <li>For the Microsoft XML Parser for Java for Internet Explorer 4.0 control, type the following line, and then press ENTER:

start rundll32 c:\windows\system\msjava.dll,JavaPkgMgr_Install c:\javatemp\xmldso.cab,0,0,0,0,0,0

</li> <li>For the Microsoft XML Parser for Java for Internet Explorer 4.01, control, type the following line, and then press ENTER:

start rundll32 c:\windows\system\msjava.dll,JavaPkgMgr_Install c:\javatemp\xmldso4.cab,0,0,0,0,0,0

</li> <li>For the Win32 Classes for Internet Explorer 4.01 control, type the following line, and then press ENTER:

start rundll32 c:\windows\system\msjava.dll,JavaPkgMgr_Install c:\javatemp\win32ie4.cab,0,0,0,0,0,0

</li></ul> </li> <li>View the contents of the Windows\Downloaded Program Files folder to verify that the Internet Explorer Java controls are present.</li></ol> </li></ol>

When you attempt to register the Java control files, you may receive the following error message:

Unable to install Java packages from c:\javatemp\iejava.cab.

Unknown HRESULT: (800b010bh)

This error message can occur if the Wintrust.dll file is missing or damaged. To resolve this behavior, extract a new copy of the Wintrust.dll file from the Ie4_s5.cab cabinet file to the Windows\System folder.

For additional information about how to use the Extract tool included with Windows 95, please see the following article in the Microsoft Knowledge Base:

129605 How to Extract Original Compressed Windows Files

For information about how to interpret HResult error codes, please see the following article in the Microsoft Knowledge Base:

178081 Description of the Active Setup Log.txt File

Keywords: kbprb KB183411

-

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

© Microsoft Corporation. All rights reserved.