Before using HydraExpress, you must configure your environment. This includes:
Ensuring that your C++ compiler is set up in your environment and available in the PATH environment variable. (For a list of supported compilers, see the Support Matrix for HydraExpress on the Support page of the Rogue Wave web site at http://www.roguewave.com/support/.)
Setting the JAVA_HOME environment variable to your JDK installation.
On UNIX/Linux only, setting the RWSF_HOME environment variable to the root of your HydraExpress installation.
Running the script rwsfvars.
These steps are discussed in more detail in the following sections.
First, ensure that your C++ compiler is set up in your environment and available in the PATH environment variable. See your compiler documentation for information.
HydraExpress also requires your PATH environment variable to point to the bin directory of your JDK, and to the directory containing the file jvm.dll. To test whether your PATH points to bin, type javac at a command prompt. If your PATH environment variable points to bin, the command returns Java usage help.
If the above test fails, add the location of the JDK bin directory to your PATH:
Win32 | set PATH=JDK-location\bin;%PATH% |
UNIX/Linux shell | PATH=JDK-location/bin:$PATH ; export PATH |
To add the location of jvm.dll to your PATH, enter:
Win32 | set PATH=JDK-location\jre\bin\server;%PATH% |
UNIX/Linux shell | PATH=JDK-location/jre/bin/server:$PATH; export PATH |
The command for setting environment variables may vary according to your UNIX shell.
Set the JAVA_HOME environment variable to your JDK installation. Note that HydraExpress is certified against JDK 1.5.0.
Win32 | set JAVA_HOME=path-to-JDK-install |
UNIX/Linux shell | JAVA_HOME=path-to-JDK-install ; export JAVA_HOME |
Set the environment variable RWSF_HOME equal to the absolute path to the directory where you installed HydraExpress.
UNIX/Linux shell | RWSF_HOME=<path-to-HydraExpress-install>; export RWSF_HOME |
The script rwsfvars.bat or rwsfvars is located in the root of your HydraExpress installation. Use the script appropriate to your system.
Win32 | rwsfvars.bat |
UNIX/Linux shell | rwsfvars |
Note on using SourcePro: If you use SourcePro, you need to manually set the environment variable RWSP_HOME to your SourcePro installation, as follows:
Win32 | set RWSP_HOME=path-to-SourcePro-install |
UNIX/Linux shell | RWSP_HOME=path-to-SourcePro-install ; export RWSP_HOME |
© Copyright Rogue Wave Software, Inc. All Rights Reserved. All Rights Reserved. Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. HydraExpress is a trademark of Rogue Wave Software, Inc. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.