Setting Environment Variables
-
On Windows, environment variables can often be set by right clicking on My Computer and selecting Properties. Select the Advanced tab and then select Environment or Environment Variables.
Note
Quotes (") are not needed even if the path includes spaces.
-
On UNIX, an environment variable can be set in .profile using a line like:
variableName=path;export variableName
For example, to set the variable CLASSPATH:
CLASSPATH=.:/usr/northgateis/JReal-3.1/jreal.jar:/usr/northgateis/RealSQL-JDBC-1.0/realsql-jdbc.jar;export CLASSPATH
To set multiple paths, separate them with colons as shown above.
Note
When using RealWeb, the web server/servlet plug-in may have specific mechanisms for adding JReal into its CLASSPATH. The readme.txt file supplied with JReal tells you how to do this for JRun.