JREDownloadURL Property

Description

This property sets the location to download the required Java Runtime Environment from if it is needed on the client machine. This property can be used to specify a specific JRE for use with EditLive! for XML.

Important

When deploying the JRE from a location other than Sun Microsystems' servers this property must be set.

Syntax

JavaScript

setJREDownloadURL(strJREURL);

Parameters

strJREURL

A string containing the location to download the Java Runtime Environment from if it is required to be installed.

Examples

Example 16.18. JREDownloadURL Property Example Scripting

The following sets the JRE download URL to be ../JREDownload/j2re-1_4_1-windows-i586-i.exe.

JavaScript

editlivejs.setJREDownloadURL("../JREDownload/j2re-1_4_1-windows-i586-i.exe");
editlivejs.setLocalDeployment(true);
editlivejs.setMinimumJREVersion("1.4.0");

Remarks

This may be a relative or absolute URL.

If a relative URL is specified then this will be relative to the URL of the page in which the EditLive! for XML applet is embedded.

The LocalDeployment property must be set to true.

The MinimumJREVersion property must be set to a JRE version which has a version number less than or equal to that of the JRE found at the location specified in the JREDownloadURL property.

The JREDownloadURL property must specify the URL of a JRE installer executable.

See Also