TITLE
    Mac OS Runtime for Java: Inconsistent Results Running Applets
Article ID:
Created:
Modified:
24862
3/25/99
3/25/99

TOPIC

    Why does my Java applet work with Netscape Navigator but not Microsoft Internet Explorer, and sometimes the reverse occurs?

    Why does my Java applet work with Netscape Navigator but not the Apple Applet Runner, and sometimes the reverse occurs?


DISCUSSION

    The answer to these questions has to do with which Java Virtual Machine (JVM) is being used. Your applet is probably running in two different virtual machines.

    The Apple Applet runner always uses the Mac OS Runtime for Java (MRJ) JVM.

    Netscape uses its own JVM for both Navigator and Communicator (at least, through version 4.5).

    Microsoft Internet Explorer has had the option to use either a Microsoft JVM or the MRJ JVM, but since Mac OS 8.5, it is installed and configured to use the MRJ JVM by default.

    One other possibility that could result in differences when running an applet is that you may not have configured the JVM in question properly, especially for proxy servers and firewalls. For further information, see the following Tech Info Library article:

    Article 60051: " Mac OS Runtime for Java 2.1: Configuring For Proxy Servers "

Document Information
Product Area: Mac OS System Software
Category: General OS
Sub Category: General Topics
Keywords: kalley

Copyright © 2000 Apple Computer, Inc. All rights reserved.