Java Program Does Not Run Automatically in Internet Explorer

ID: Q155203


The information in this article applies to:
  • Microsoft Internet Explorer version 3.0 for Windows 95


SYMPTOMS

When you load a Web page that contains a Java program in Microsoft Internet Explorer version 3.0 for Windows 95, the Java program may not run automatically. This problem may occur even though you have configured Internet Explorer so that it runs Java programs automatically, and no error message is displayed when you load the Web page. If you use a different Internet browser to load the Web page, the Java program may run automatically.


CAUSE

This behavior can occur when the WIDTH and HEIGHT attributes are missing from the <APPLET> element associated with the Java program. The WIDTH and HEIGHT attributes are required for the <APPLET> element, but some Internet browsers will run the Java program even if these attributes are missing.


RESOLUTION

To determine if the Java program is not running automatically because the WIDTH and HEIGHT attributes are missing from the associated <APPLET> element, use one of the following methods:

  • Load another Web page that contains a Java program. If the Java program runs automatically, the problem with the Java problem on the original Web page may be caused by the fact that the WIDTH and HEIGHT attributes are missing from the associated <APPLET> element.


  • If you are familiar with Hypertext Markup Language (HTML), you may be able to determine if the WIDTH and HEIGHT attributes are missing from the associated <APPLET> element by viewing the HTML file associated with the Web page. To do so, use the right mouse button to click an open area on the Web page, click View Source on the menu that appears, and then locate the <APPLET> element associated with the Java program.


If you are able to determine that the WIDTH and HEIGHT attributes are missing from <APPLET> element associated with the Java program, contact the administrator of the Web site to report the problem. The WIDTH and HEIGHT attributes must be present for the Java program to run automatically in Internet Explorer.

Additional query words: 3.00

Keywords : msiew95
Version : WINDOWS:3.0
Platform : WINDOWS
Issue type :


Last Reviewed: September 9, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.