Setting Up the Product Examples

Complete the installation procedure for each physical or VMware virtual machine on which you will run the vFabric GemFire examples.

GemFire includes an evaluation license that enables you to run the examples and perform simple evaluation activities. This license allows you to run up to three peer or cache server members and up to three clients for each cache server member. GemFire uses the default evaluation license when no other licensing is installed. The default evaluation license never expires. It is not allowed for production use.

Prerequisites
Procedure
  1. If you have not already done so, download the GemFire sample code. The sample code is included the VMware vFabric GemFire product download listed for each license type. To download product samples, perform the following steps:
    1. Visit the VMware vFabric GemFire product download page at http://downloads.vmware.com/d/info/application_platform/vmware_vfabric_gemfire/6_6#product_downloads.
    2. If the product downloads categorized by license types are not already expanded, select Expand All.
    3. Under any of the product downloads, click the "View Download" button next to VMware vFabric GemFire X.X.X (where X.X.X corresponds to the version of GemFire you have installed).
    4. Download and unzip the product examples to a directory on the machine where you want to store and run the examples.
  2. Add the example class directories to your CLASSPATH.
    • tutorial/classes
    • helloworld/classes
    • quickstart/classes
    • examples/dist/classes
    In the example class directories, replace <SamplesDirectory> with the directory path of the extracted the zip file.
    • Unix Bourne and Korn shells (sh, ksh, bash).
      CLASSPATH=<SamplesDirectory>/tutorial/classes:
           <SamplesDirectory>/helloworld/classes:
           <SamplesDirectory>/quickstart/classes:
           <SamplesDirectory>/examples/dist/classes:
           $CLASSPATH;export CLASSPATH
    • Windows
      set CLASSPATH=<SamplesDirectory>\tutorial\classes;
           <SamplesDirectory>\helloworld\classes;
           <SamplesDirectory>\quickstart\classes;
           <SamplesDirectory>\examples\dist\classes;
           %CLASSPATH%
What to do next