Installing the EGL run-time code for Java

The EGL run-time code for generated Java applications is on the last installation CD for your Rational Developer product and is also found in the redist\EGLRuntimes directory and its subdirectories for each of the distributed platforms that are supported for Java applications. The supported distributed platforms are AIX, Linux (Intel), iSeries, and Windows 2000/NT/XP. (See product prerequisites for supported versions.)

Jar files containing Java code common to all supported distributed platforms are contained in the redist\EGLRuntimes directory. Copy these jar files to each machine on which deployed EGL applications are to be run outside of a J2EE application server. (These files are already included in any Enterprise Archive (EAR) file used to deploy J2EE applications.) Include the fda6.jar and fdaj6.jar files in the classpath of the deployment machines.

There is a subdirectory for each supported distributed platform: Aix for AIX platforms, Linux for Linux platforms, iSeries for iSeries platforms, and Win32 for Windows 2000/NT/XP platforms. Each of the platform subdirectories has a bin subdirectory that contains non-Java, platform-dependent code. Copy all of the files in the bin directory for the deployment platform to a directory on each deployment machine, then set environment variables for that platform as follows:

AIX

Add the directory into which the non-Java code was copied to the PATH and LIBPATH environment variables

Linux

Add the directory into which the non-Java code was copied to the PATH and LIBPATH environment variables

iSeries

In qshell, change to the directory you just uploaded the files to and run the setup.sh script with the "install" option:
> setup.sh install
In addition, some other environment variables must be set. For information on how to set these environment variables, run the script with the "envinfo" option:
> setup.sh envinfo
If for some reason you delete a symlink that is created for you during install, you can recreate it with the "link" option:
> setup.sh link

Windows 2000/NT/XP

Add the directory into which the non-Java code was copied to the PATH environment variable

Related tasks
Deploying Java applications outside of J2EE