Before running the programming examples, make sure your environment is set according to the specifications listed here.
The "setenv" script referred to below, and the general environment settings, are documented in the Programming chapter of the GemFire Enterprise Developer's Guide. The commands and settings listed are generally Unix-centric. Adjust as necessary for other operating systems.
bin/setenvscript for your system. Refer to the Developer's Guide if you need help with this step.
GF_JAVA_HOME, to a VM that satisfies the requirements listed in the installation chapter of the GemFire Enterprise System Administrator's Guide. The
JAVA_HOMEsetting is for your applications, and
GF_JAVA_HOMEis for the GemFire scripts. Some installations of GemFire include a JRE. If you have a
$GEMFIRE/jredirectory, the GemFire scripts will automatically use it and you could also use it for your
JAVA_HOMEsetting. If you have no
$GEMFIRE/jredirectory (as with the
.zipfile download of the product), then you must have an appropriate VM installed on your system and you must set
GF_JAVA_HOMEto point to it.