1.3 Post-installation steps

1.3.1 Set environment variable variables

1.3.1.1 JAVA_HOME

The SpringSource dm Server uses the JAVA_HOME environment variable to locate the java executable. This environment variable must be configured to point to the home of a Java 5 or Java 6 installation.

1.3.1.2 SERVER_HOME

As a convenience it is recommended to create an environment variable that points to the SpringSource dm Server installation directory. Note that the SpringSource dm Server does not require that such an environment variable has been set. This variable may have any name of your choosing. The SpringSource dm Server's documentation assumes that the variable is named SERVER_HOME.

Linux

Edit the .profile file in your home directory to add the SERVER_HOME environment variable. For example, if you installed into /opt:

export SERVER_HOME=/opt/springsource-dm-server-1.0.2.RELEASE/
Microsoft Windows

From the Start menu, open the Control Panel and double-click on 'System'.

Click the 'Advanced' tab and select 'Environment Variables'. Next, click the 'Edit' button in the 'System Variables' section.

This will display the 'Edit System Variable' window. Enter SERVER_HOME as the 'Variable name' and the installation directory as the 'Variable value'. Click OK.