A release file is provided with the OpenSplice Enterprise installation which contains the environment variables that are required.
Create an OpenSplice Enterprise environment as follows.
First:
Open a shell and source the release.com file from the OpenSplice Enterprise installation directory.
Open a Windows Command prompt and run the release.bat file in the OpenSplice Enterprise installation directory.
Alternatively, use the OpenSplice DDS Command Prompt that can be accessed from the Windows Start menu (this will implicitly run release.bat).
Next:
Set the OSPL_URI variable to refer to the OpenSplice Enterprise configuration that is required (see the section How to select the Architectural Mode).