EditLive! 9 Documentation : setJREDownloadURL Method

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!.

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

This property only affects Internet Explorer.

Syntax

Visual Basic Script
object.JREDownloadURL = strJREURL
ASP.NET
prefix:EditLiveJava JREDownloadURL = strJREURL
JavaScript
editliveInstance.setJREDownloadURL(strJREURL);

Parameters

strJREURL

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

Examples

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

VBScript
elglobal.JREDownloadURL = "../JREDownload/j2re-1_4_1-windows-i586-i.exe"
ASP.NET Server Control
<elj:EditLiveJava 
  ...
  JREDownloadURL = "../JREDownload/j2re-1_4_1-windows-i586-i.exe"
  ... 
/>
JavaScript
editlivejs.setJREDownloadURL("../JREDownload/j2re-1_4_1-windows-i586-i.exe");

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! applet is embedded.

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