English

How To: Change the version of JRE installed with the Java Viewer

Summary

This document details the steps necessary to change the default version of Java Runtime Environment (JRE) installed during the installation of the Java Viewer on client machines.

Procedure

The following steps are an example of how to use JRE version 1.3.0_02 as the download from the ArcIMS Server. The name of the server that has ArcIMS running is ims.esri.com.

  1. Place the JRE version 1.3.0_02 executable in a Web site folder (for example, C:\ArcIMS\Website).
  2. After creating a Java Web site, browse to the ArcIMS Web site folder, browse to the Java Web site folder, then open the .htm file.

    Note:
    For a Java Standard Web site, open the default2.htm file. For a Java Custom Web site, open the ie.htm file.

  3. With the htm file opened in a text editor, make the following changes to the OBJECT tag:

    Code:
    <OBJECT CLASSID="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" ID="imsSite" WIDTH="1" HEIGHT="1"
    codebase="http://ims.esri.com/website/j2re-1_3_0_02-win.exe">


    Note:
    The HTTP location is pointing to the Web site location of the server where the JRE is located. Choose any location on the server.

  4. Save and close the .htm file.
  5. Now when the Java Web site is accessed, the client will be prompted to install JRE version 1.3.0_02 directly from your server.