Search
Close this search box.
< All Topics
Print

How to Set Environment Variables

Environment variables are flags that you set outside an application that the application reacts to. Applications and libraries like RLM read environment variables that they define. You can find a list of the RLM environment variables in our documentation.

 

A characteristic of environment variables is that they are set in a process, like a Windows command window or a Unix/Linux shell, and are inherited by processes that are created by that process. So if you create 2 command windows and you set an environment variable in window 1, it won’t be set in window 2. But if you run an application in window 1, the environment variable will be set in that application.

 

The easiest way to use an environment variable with RLM is to set it in a command window or shell, then invoke the application from that window or shell. For example, if you wanted to set RLM_DIAGNOSTICS to cause the application to write RLM diagnostic information to the file “diag.txt”

 

Windows: set RLM_DIAGNOSTICS=diag.txt
sh, bash : export RLM_DIAGNOSTICS=diag.txt
csh: setenv RLM_DIAGNOSTICS diag.txt

 

Then invoke the application from the window where you set RLM_ROAM.

 

On Windows it’s possible to set the environment variable via the Windows settings:

  • Open Windows Settings
  • Navigate to: System > About
  • Click on “Advanced system settings”
  • Click on “Environment Variables…”
  • Enter the environment variable name and value.

RLM and RLM
Activation Pro

What’s the difference?

Reprise License Manager (RLM)

Software License Manager

RLM provides runtime checking that verifies that your application is licensed to run and that the current usage of your application is within the limits you have ser every time your application runs.

As a Software publisher, you integrate RLM into your product, and RLM keeps track at runtime of who is using the licenses of your software.

RLM can do this entirely within the client library (linked into your application), or, more commonly, your application makes a request of the RLM Lincese Server to check out a license.

The lincese server runs either on your customers network, or in the cloud if you are using our RLMCloud™ service.

RLM provides runtime checking that verifies that your application is licensed to run and that the current usage of your application is within the limits you have ser every time your application runs.

RLM Activation Pro

Software Activation Manager

Activation Pro is
used once when your customer purchases your software in order to retrieve the license which is specific to that customer.

Software Activation’s purpose in life is to get the licenses for your product to your customers with a minimum of fuss.

Activation Pro also has a server component wich we call the activation server.

Your application contacts the activation server and supplies a short text activation key, and in exchange, the activation server returns the license which enables your product.

Generally, this is done once, right after your customer purchases your software, not every time your software is invoked.