> Compiling the Sample Clients
> To compile and run the sample clients you need to execute "setup" script, which is located in the EMS_HOME/samples/java directory. On Windows systems, the setup file is setup.bat. On Unix systems, the setup file is setup.sh.
> To compile the sample client files:

> 1. | Make sure you have Java JDK 1.5 or greater installed and that you’ve added the bin directory to your PATH variable.

> 2. | Open a command line or console window, and navigate to the EMS_HOME/samples/java directory.

> 3. | Open the correct setup script file and verify that the TIBEMS_ROOT environment variable identifies the correct pathname to your EMS_HOME directory. For example, on a Windows system this might look like:

> set TIBEMS_ROOT=C:\tibco\ems\5.1

> 4. | Enter setup to set the environment and classpath:

> > setup

> 5. | Compile the samples:

> > javac -d . *.java
> This compiles all the samples in the directory, except for those samples in the JNDI and tibrv subdirectories.
> If the files compile successfully, the class files will appear in the EMS_HOME/samples/java directory. If they do not compile correctly, an error message appears.

Copyright © TIBCO Software Inc. All Rights Reserved.