The information in this article applies to:
- Microsoft Internet Explorer version 4.0 for Windows 95
- Microsoft Internet Explorer version 4.0 for Windows NT 4.0
IMPORTANT: This article contains information about editing the registry.
Before you edit the registry, make sure you understand how to restore it
if a problem occurs. For information about how to do this, view the
"Restoring the Registry" Help topic in Regedit.exe or the "Restoring a
Registry Key" Help topic in Regedt32.exe.
SYMPTOMS
 
When you install Internet Explorer 4.0, you may receive the following
error messages:
- Unable to install Java Packages from c:\windows\java\classes\Xmldso.cab
   Access is denied.
- Unable to install Java Packages from c:\windows\system\Iejava.cab
   Access is denied.
- Unable to install Java Packages from c:\windows\Dajava.cab
   Access is denied.
 
CAUSE
 
These error messages can occur for any of the following reasons:
- There is a copy of the Imagehlp.dll file in the Windows folder.
   Internet Explorer installs an updated copy of the Imagehlp.dll file in
   the Windows\System or Winnt\System32 folder.
- You are trying to install Internet Explorer 4.0 over a pre-released
   version of Internet Explorer 4.0 that includes the Microsoft Virtual
   Machine (VM) for Java.
- There is an invalid certificate on the hard disk when you install
   Internet Explorer 4.0.
- The Active Content security options are disabled in Internet Explorer
   3.02 before you upgrade to Internet Explorer 4.0.
 
 
RESOLUTION
 
To resolve this issue, use the appropriate method:
Rename the Imagehlp.dll File in the Windows Folder
 
For information about how to rename a file, click Start, click Help, click
the Index tab, type "renaming" (without quotation marks), and then double-
click the "Renaming files" topic.
NOTE: You must reinstall Internet Explorer 4.0 after you rename the
Imagehlp.dll file.
Remove Java Before Reinstalling Internet Explorer 4.0
 
NOTE: You should always uninstall beta versions of software before
installing the release version.
If these error messages occur when you install over a pre-released version
of Internet Explorer 4.0, uninstall the previous version before installing
Internet Explorer 4.0. To do this, follow these steps:
- Uninstall your previous version of Internet Explorer 4.0. For
   information about uninstalling Internet Explorer 4.0, see the following
   article in the Microsoft Knowledge Base:
       ARTICLE-ID : Q174265
      TITLE      : How to Uninstall Internet Explorer 4.0
   NOTE: Do not remove the Microsoft Java VM if you are installing over
   the Internet. If you receive the following prompt, click No to keep the
   Microsoft VM for Java:
      Microsoft VM Uninstall
      If this component is uninstalled. Microsoft Internet Explorer 4.0
      will not be able to download files from the World Wide Web. Do you
      want to uninstall the Microsoft VM for Java?
- Delete the following folder:
        <windir>\Java\Packages
 
   where <windir> is the folder where Windows is installed.
 
   For information about how to delete a folder, click Start, click Help,
   click the Index tab, type "deleting" (without quotation marks), and
   then double-click the "folders" topic.
 
- If you have an invalid or beta certificate for Java, follow these
   steps:
   a. On the View menu, click Internet Options.
 
   b. On the Content tab under View, click Publishers.
 
   c. Click the certificate you want to remove, and then click Remove.
 
   d. Click OK, and then click OK again.
 
   NOTE: Beta versions of Internet Explorer used Internet Explorer BETA
   Publishing Division instead of Microsoft Corporation. This certificate
   should be removed when you Uninstall the beta version of Internet
   Explorer 4.0. If it is not removed, the final version of Internet
   Explorer 4.0 will report "Access Denied" when installing the Java VM.
 
- Install Internet Explorer 4.0.
   For information about installing Internet Explorer 4.0, see the
   following article in the Microsoft Knowledge Base:
 
       ARTICLE-ID : Q170993
      TITLE      : How to Install Internet Explorer and Troubleshoot Setup
                   Problems
Note that after you uninstall Internet Explorer 4.0, any certificates
obtained after you installed Internet Explorer 4.0 are removed.
For information about certificates in Internet Explorer 4.0, see the
following article in the Microsoft Knowledge Base:
   ARTICLE-ID : Q174920
   TITLE      : Uninstalling Internet Explorer 4.0 Removes Certificates
Enable Active Content Before You Install Internet Explorer 4.0
 
If these error messages occur when you install over Internet Explorer
3.02, uninstall Internet Explorer 4.0 then enable the Active Content in
Internet Explorer 3.02. To enable Active Content, follow these steps:
- In Internet Explorer 3.02, on the View menu, click Options.
- Click the Security Tab.
- Under Active Content, click the check box for the following options to
   select them:
     - Allow Downloading Of Active Content
    - Enable ActiveX Controls And Plug-Ins
    - Run ActiveX Scripts
    - Enable Java Programs
- Click OK.
- Install Internet Explorer 4.0.
   For information about installing Internet Explorer 4.0, see the
   following article in the Microsoft Knowledge Base:
 
       ARTICLE-ID : Q170993
      TITLE      : How to Install Internet Explorer and Troubleshoot Setup
                   Problems
If Internet Explorer 4.0 is already installed and these error messages
occur, use the following steps to properly install Java:
WARNING: Using Registry Editor incorrectly can cause serious problems
that may require you to reinstall Windows 95. Microsoft cannot guarantee
that problems resulting from the incorrect use of Registry Editor can be
solved. Use Registry Editor at your own risk.
NOTE: For information about how to edit the registry, view the Changing
Keys And Values online Help topic in Registry Editor (Regedit.exe). Note
that you should make a backup copy of the registry files (System.dat and
User.dat) before you edit the registry.
- Delete the Code Download data name under the following registry key:
       HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\
      Internet Settings
- Reinstall the Microsoft VM For Java add-on from the Internet Explorer
   Component Download Web page.
 
MORE INFORMATION
 
For more information about the Java VM in Internet Explorer, see the
following articles in the Microsoft Knowledge Base:
   ARTICLE-ID : Q174311
   TITLE      : Internet Explorer Plus 4.0 Readme.txt File
   ARTICLE-ID : Q154604
   TITLE      : Description of Java Support for Internet Explorer
   ARTICLE-ID : Q172437
   TITLE      : INFO: IE4 PP2 Win32 Virtual Machine for Java File List
   ARTICLE-ID : Q168941
   TITLE      : INFO: Frequently Asked Questions for CAB Files
   ARTICLE-ID : Q169805
   TITLE      : INFO: Known Issues with Microsoft Win32 Virtual Machine
                for Java