Environment Variables

Mandatory environment variables

License variables

The necessary license variables must be defined as environment variables before the EDMserver can be started and used. Actual products must have a legal license before it can be used. Licensing of the EXPRESS Data Manager is described in the Licensing section of this document. Some license variables that are often needed are presented below:

Man

EDM_LIC_100

The EDMrunTime License

EDM_LIC_102

The EDMdesktop License

EDM_LIC_103

The EDMdeveloper License

EDM_LIC_200

The EDMserver (generic) License, with an unlimited number of users.

etc.

etc.

Mandatory environment variables for using EDOM3/Java interface 


The following are mandatory variables for running the Java binding of EDMinterface:

PATH

The system path must include the %EDM_HOME%\bin

JAVA_HOME

Directory where the Java Virtual Machine is located

CLASSPATH

Defines the Java search pass for classes and “. Jar” files. Forjexpress2it must include:
%EDM_HOME%/bin/jexpress2-12.jar
For the new Java interfaceedom3it must include:
%EDM_HOME%/bin/edom3_java3.jar

Setting configuration variables in environment


Environment variables may be set permanently by the Control Panel or they may be temporarily defined in a command script that must be executed in the command window in which EDM programs are started. The example below shows how the license key, can be set using these two methods:

  1. Open the Control panel, Settings->Control Panel.
  2. Select System.
  3. Select Advanced.
  4. Select Environment variables.
  5. Select System Variables.
  6. If the environment variable EDM_LIC_100 exists. Select it and press Edit. Otherwise, press New.
  7. Open the license file in an editor, cut the license string and paste it and enter it into the Variable Value field without leading and trailing spaces.
  8. Save and close before restarting the computer.

 
The environment variables may also be set in a command script that may be automatically executed when a command window is started. The example below shows the syntax of such a script:
 
set EDM_LIC_100=K8ssXY9jZ0KnmI&.'Koyuss-Yj/'nAO0I-uh.kU_xP_Arejj…etc…
set EDM_CLIENTS_OPEN_MODEL_PERMISSION=NO_RESTRICTION
set EDMI_COMMUNICATION_TYPE=TCP
set EDM_HOST=localhost
set EDM_SERVICE_PORT=9090
set EDM_HOME=c:\edm\edmv4.7.051
set EDM_MEMORY_BLOCKS=50000
set EDM_CLIENT_MEMORY_BLOCKS=75000
set EDM_SERVER_MEMORY_BLOCKS=10000
 
Tip: All environment variables that start with "EDM" are listed with the command:
set edm