Troubleshooting Java Problems in Internet Explorer Version 3.x

Last reviewed: January 14, 1998
Article ID: Q168806
The information in this article applies to:
  • Microsoft Internet Explorer versions 3.0, 3.01, 3.02 for Windows 95
  • Microsoft Internet Explorer versions 3.0, 3.01, 3.02 for Windows NT 4.0

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, you should first make a backup copy of the registry files (System.dat and User.dat). Both are hidden files in the Windows folder.

SUMMARY

This article describes how to troubleshoot problems with Java. The following topics are discussed:

  • Determining the scope of the Java problem.
  • Java problems on one Web site.
  • Java problems on all Web sites.

MORE INFORMATION

Determining the Scope of the Java Problem

To determine the scope of the Java problem, follow these steps:

  1. Access either of the following Microsoft Java Web sites at the following Web page addresses:

          http://www.microsoft.com/ie/most/howto/java.htm
    

          http://www.microsoft.com/ie/ie40/features/ (click Java on the right-
          hand menu)
    

  2. If the Java program operates correctly, the problem is probably specific to one Web site. Follow the steps in the "Java Problems on One Web Site" section in this article. If neither of the Java programs operate correctly, the problem is most likely specific to all Web sites. Follow the steps in the "Java Problems on All Web Sites" section in this article.

Java Problems on One Web Site

If you are unable to view a Web site that contains Java programs, but are able to view other Web sites that contain Java programs, follow these steps to resolve the issue:

  1. Access the following Web site:

          http://www.microsoft.com/java
    

  2. Click Downloads, and then click the Microsoft Virtual Machine for Java link. Click I Accept, and then click Build <XXXX> For Windows95/NT (x86), where <XXXX> is a build number equal to or greater than 1517. This installs the Microsoft Virtual Machine for Java update.

  3. Access the Web site that exhibited the problem, and test to determine if the issue has been resolved. If the issue has not been resolved, continue with step 4.

  4. Right-click the Internet Explorer icon on the desktop, and then click Properties on the menu that appears.

  5. On the Advanced tab, click the Enable Java JIT Compiler check box to clear it, and then click OK.

  6. Access the Web site that exhibited the problem, and test to determine if the issue has been resolved.

  7. If the problem no longer occurs, view the following article in the Microsoft Knowledge Base:

          ARTICLE-ID: Q155163
    
          TITLE     : Java Program Does Not Run with Java JIT Compiler Enabled
    
       If the problem still occurs, we recommend that you contact the author
       of the Web site, notify him or her of the problem, and submit a problem
       report to Microsoft from this Web site:
    
          http://www.microsoft.com/java
    
    

Java Problems on All Web Sites

If you are unable to view any Web site that contains Java programs, follow these steps to resolve the issue:

  1. Right-click the Internet Explorer icon on the desktop, and then click Properties on the menu that appears.

  2. On the Security tab, and verify that the Enable Java Programs option is enabled. If the Enable Java Programs option is not enabled, click the check box to select it, click OK, and then follow the steps in the "Determining the Scope of the Java Problem" section in this article to determine if the issue has been resolved. If the Enable Java Programs option is enabled, continue with step 3.

  3. Click Start, point to Find, and then click Files Or Folders.

  4. Type "*classes.zip" (without quotation marks) in the Named box, click the drive that contains the Windows folder in the Look In box, and then click Find Now.

  5. Verify that you have the following two files:

        - The Classes.zip file in the Windows\Java\Classes folder.
        - The Tclasses.zip file in the Windows\Java\Trustlib folder.
    

  6. If one or both of these files is missing, continue with step 7. If both files are present in the correct folders, skip to step 9.

  7. Click Start, point to Find, click Files Or Folders, type "classr.exe" (without quotation marks) in the Named box, click the drive that contains the Windows folder in the Look In box, and then click Find Now.

  8. If you find the Classr.exe file, double-click it to rebuild the Classes.zip and Tclasses.zip files, and then follow the steps in the "Determining the Scope of the Java Problem" section in this article to determine if the issue has been resolved. If the issue has not been resolved, skip to step 12. If you do not find the Classr.exe file, continue with step 9.

  9. Access the following Web site:

          http://www.microsoft.com/java
    

  10. Click Downloads, and click Microsoft Virtual Machine for Java. Click I

        Accept, and then click Build <XXXX> For Windows95/NT (x86), where
        <XXXX> is a build number equal to or greater than 1517. This installs
        the Microsoft Virtual Machine for Java update.
    

  11. Follow the steps in the "Determining the Scope of the Java Problem"

        section in this article to determine if the issue has been resolved.
        If the issue has not been resolved, skip to step 13.
    

  12. 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.
    

        Use Registry Editor to verify that classpath contains the
        "C:\WINDOWS\java\classes\classes.zip;C:\WINDOWS\java\classes;." value
        under the following registry key:
    

           HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Java VM
    

        If this entry is present, continue with step 13. If this entry is not
        present, access the following Web site:
    

          http://www.microsoft.com/java
    

        Click Downloads, and then click the Microsoft Virtual Machine for Java
        link. Click I Accept, and then click Build <XXXX> For Windows95/NT
        (x86), where <XXXX> is a build number equal to or greater than 1517.
        This installs the Microsoft Virtual Machine for Java update. Follow
        the steps in the "Determining the Scope of the Java Problem" section
        in this article to determine if the issue has been resolved. If the
        issue has not been resolved, continue with step 13.
    

  13. Change the display settings to a lower resolution and fewer colors in

        the color palette. To do so, follow these steps:
    

        a. Click Start, point to Settings, point to Control Panel, and then
           double-click Display.
    

        b. On the Settings tab, click 16 Colors in the Color Palette list, and
           then move the Desktop Area slider to the far left (640 By 480
           Pixels).
    

        c. Click OK.
    

        d. Follow the steps in the "Determining the Scope of the Java Problem"
           section in this article to determine if the issue has been
           resolved. If the issue has been resolved, notify the video card
           manufacturer of the problem and request a video card driver update.
           If the issue has not been resolved, continue with step 14.
    

  14. Restart Windows 95 using minimal drivers. To do so, follow these

        steps:
    

        a. Click Start, click Run, type "sysedit" (without quotation
           marks) in the Open box, and then click OK.
    

        b. View the System.ini file and verify that it contains the following
           line:
    

              system.drv=system.drv
    
           If the "system.drv=" line is different from the above line, place a
           semicolon (;) in front of the line, add "system.drv=system.drv"
           (without quotation marks) to the [boot] section, click File, and
           then click Save.
    
        c. View the Win.ini file and place a semicolon (;) in front of the
           "run=" line.
    
        d. Quit System Configuration Editor. If you are prompted to save any
           files, do so.
    
        e. Restart your computer by clicking Start, clicking Shut Down,
           clicking Shut Down the Computer, and then clicking Yes. When you
           see the "Starting Windows 95" message, press the F8 key, and then
           choose Step By Step Confirmation from the Startup menu.
    
        f. When you are prompted to process the Config.sys and Autoexec.bat
           files, choose No. When you are prompted to load all Windows
           drivers, choose Yes, and then hold down the SHIFT key while Windows
           starts to prevent items in the Startup group from being processed.
    
        g. Follow the steps in the "Determining the Scope of the Java Problem"
           section in this article to determine if the issue has been
           resolved. If the issue has been resolved, continue with step 15. If
           the issue has not been resolved, skip to step 17.
    
    

  15. Remove each of the programs from the Startup group individually to

        isolate the problem program, restarting Windows after each program
        you move. To do so, drag a program from the Windows\Start
        Menu\Programs\StartUp folder to another folder, and then restart
        Windows. Follow the steps in the "Determining the Scope of the Java
        Problem" section in this article to determine if the issue has been
        resolved. If the issue has not been resolved, drag another program
        from the Startup group, and so on. If the issue still has not been
        resolved after all programs are removed from the Startup group,
        continue with step 16.
    

  16. Isolate any conflicts with terminate-and-stay-resident program (TSR)

        or real-mode device drivers. To do so, restart your computer by
        clicking Start, clicking Shut Down, clicking Shut Down the Computer,
        and then clicking Yes. When you see the "Starting Windows 95" message,
        press the F8 key, and then choose Step By Step Confirmation from the
        Startup menu. Press the N key (for No) for every TSR or real-mode
        device driver. When Windows restarts, follow the steps in the
        "Determining the Scope of the Java Problem" section in this article to
        determine if the issue has been resolved. If the issue has not been
        resolved, skip to step 18.
    

  17. If you connect to the Internet using a modem, skip to step 18. If you

        connect to the Internet using a local area network (LAN), contact your
        network system administrator and verify that you have access to Java
        programs through the network firewall. If you have access to Java
        programs through the network firewall, continue with step 18.
    

  18. Please contact Microsoft Technical Support for more information and

        assistance.
    


Additional query words: 3.00
Keywords : msient msiew95 kbenv
Version : 3.0 3.01 3.02
Platform : WINDOWS
Issue type : kbtshoot


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 14, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.