LocalDeployment Property

Description

This property stipulates where to download the Java Run Time Environment (JRE) from, if it is not already installed on the client machine. If this property is set to true, the JRE will be downloaded and installed from the server directory stipulated by the JREDownloadURL property, if required on the client machine. If this property is set to false, the JRE will be downloaded and installed from the Sun Microsystems Web site, if required on the client machine.

Important

When setting this property to true it should be ensured that the JREDownloadURL is set to the location of the JRE installer with the the JRE will be deployed.

Syntax

JavaScript

setLocalDeployment(blnLocalDeployment);

Parameters

blnLocalDeployment

A boolean value indicating if the JRE should be deployed from Sun Microsystems' servers if it is not already present. When set to false the JRE will be deployed from Sun Microsystems' servers.

The default value is false.

Example

Example 16.21. LocalDeployment Property

The following code would set the LocalDeployment property to true.

JavaScript

editlivejs.setLocalDeployment(true);

See Also