Setting Up GemFire

In this procedure it is assumed that you know how to configure environment variables for your operating system.

Install and configure GemFire Enterprise and Java as described here for every machine on which you will run GemFire.

1. Confirm that your system meets the requirements to run GemFire Enterprise.

See System Requirements. To check your current Java version, type java -version at a command-line prompt. You can download Sun/Oracle Java SE here.

2. Install GemFire.

a. Register at the Springsource GemFire download site to access the download.
The registration process is quick and helps us help you later if you have questions or problems. The product includes an evaluation license.

b. Install GemFire Enterprise 6.5 according to the instructions on the download site.
You can also get GemFire from your salesperson.

3. Configure your environment for GemFire.

a. Set the JAVA_HOME environment variable to point to your Java runtime installation. (There should be a bin directory under JAVA_HOME.)

b. Set the GEMFIRE environment variable to point to your GemFire installation top-level directory. (There should be bin, lib, dtd, and other directories under GEMFIRE.)

c. Configure GF_JAVA and your PATH and CLASSPATH as shown in these examples. (GF_JAVA must point to the java executable file under your JAVA_HOME.)

Unix Bourne and Korn shells (sh, ksh, bash)

GF_JAVA=$JAVA_HOME/bin/java;export GF_JAVA
PATH=$PATH:$JAVA_HOME/bin:$GEMFIRE/bin;export PATH
CLASSPATH=$GEMFIRE/lib/gemfire.jar:$GEMFIRE/lib/antlr.jar:$GEMFIRE/lib/gfSecurityImpl.jar:$CLASSPATH;export CLASSPATH

Windows

set GF_JAVA=%JAVA_HOME%\bin\java.exe
set PATH=%PATH%;%JAVA_HOME%\bin;%GEMFIRE%\bin
set CLASSPATH=%GEMFIRE%\lib\gemfire.jar;%GEMFIRE%\lib\antlr.jar;%GEMFIRE%\lib\gfSecurityImpl.jar;%CLASSPATH%

4. Explore GemFire features.

With GemFire installed and your environment configured, you can run all of the GemFire product features. See the documentation for guidance on using GemFire.

To run the product tutorial and examples, follow the steps in Setting Up the Product Examples.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.