Verify that your browser can run JDK 1.2 applets

The EAServer client runtime requires JDK 1.2 or later.

To run the tutorial applet, you must have Web browser that is compatible with JDK 1.2 or a later JDK version. Most current browsers include a JDK 1.1 virtual machine. To run JDK 1.2 applets in these browsers, you must use the Java Plug-in available from Sun Microsystems at the Java Plug-in Web site.

The tutorial was tested with Netscape Navigator 4.6.x, 4.7.x, and Internet Explorer 5.0, all using Sun’s Java Plug-in, version 1.3.

NoteThe Java Plug-in is required To run this tutorial without the Java Plug-in, you must edit the HTML code that loads the applet. The tutorial HTML code will not run the applet in browsers where the plug-in is not installed. The Java Plug-in may not be available on your UNIX platform; in that case use a browser running on a supported platform such as Windows NT, Windows 2000, or Sun Solaris.

If you are running the sample applet on a machine where EAServer has been installed, you may need to configure your browser to eliminate conflicts between EAServer classes that are downloaded with the applet and classes that are loaded from the local CLASSPATH setting. The simplest way to do this is to run the browser from a batch file or UNIX script as described here.

StepsConfiguring your browser on Windows

This procedure is necessary only if you have EAServer classes in the system or user CLASSPATH environment variable, or you start the browser from a command line where CLASSPATH has been set to include EAServer classes.

  1. Locate the browser executable, and create a batch file in the same directory with the same base file name, for example netscape.bat or iexplore.bat.

  2. Add these commands to the batch file, where browser.exe is the name of the browser executable:

    @ECHO OFF
    SETLOCAL
    SET CLASSPATH=""
    START browser.exe %*
    ENDLOCAL
    
  3. Change shortcuts that run the browser so that they launch the batch file instead of the browser executable.

StepsConfiguring your browser on UNIX

This procedure is necessary only if you have EAServer classes in the CLASSPATH when you start the browser process. For example, you may have modified the CLASSPATH setting in your .login or .cshrc file.

  1. Create a script to run the browser, for example, ~/bin/netscape.

  2. Edit the script to set the CLASSPATH environment variable to an empty string before running the browser. For example (this script also sets the NPX_PLUGIN_PATH variable to configure the Sun Java Plug-in. See the Java Plug-in documentation for more information):

    #!/bin/sh
    set CLASSPATH="" export CLASSPATH
    set NPX_PLUGIN_PATH=/opt/jre/1.3/plugin/sparc export NPX_PLUGIN_PATH
    /opt/netscape/bin/netscape $*
    
  3. Run this script to start your browser.