Starting Work with the Client Sample Files


The sample files were designed to allow you to run TIBCO Enterprise Message Service with minimum start-up time and coding. The directory contains three sets of files:

This section describes compiling and beginning to use the client samples.

Compiling the Sample Files

In order to compile and run the client samples you need to execute setup.bat (Windows) or setup.sh (UNIX) scripts, which are located in the sample files directory.

To run the client sample files:

  1. Verify the setting of the TIBEMS_ROOT environment variable inside the setup.bat or setup.sh script file.
  2. Open a command line or console window, and change directory to the samples>client subdirectory in the JMS folder.
  3. Run the setup script.
  4. Compile the samples by typing javac -d.*.java on the command line.
  5. This will compile all the samples in the directory, except for those samples within the sun and tibrv subdirectories.

    If the files compile successfully, the class files will appear in the samples>client subdirectory. If they do not compile correctly, an error message appears.


TIBCO Enterprise Message Service™ User’s Guide
Software Release 4.3, February 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com