Setting Up Your Environment for Running the Examples

Setting Up Your Environment for Running the Examples

To start using the examples, start terminal sessions with environments set for GemFire and the examples, then locate the example files.

If you have not already done so, install and configure GemFire and the GemFire product examples.
  1. Start two terminal sessions with their environments set up for GemFire and the product examples.
  2. In both sessions, change directory (cd) to the quickstart directory under <product_install_dir>/SampleCode installation.

If you have problems running the examples, see the Product Examples Troubleshooting Checklist.

Example Files

Source and configuration files are located under the examples installation quickstart directory:
  •, used by all of the examples
  • Java source files in the quickstart subdirectory
  • XML cache configuration files in the xml subdirectory

For descriptions and example walkthroughs for these different file types, see Walkthrough of the Example Files.