GridGain In-Memory Data Fabric for C++ Examples
==================================

Common requirements
----------------------------------
 * Java Development Kit (JDK) must be installed: https://java.com/en/download/index.jsp
 * JAVA_HOME environment variable must be set pointing to Java installation directory.
 * GRIDGAIN_HOME environment variable must be set to GridGain installation directory.
 * IGNITE_HOME environment variable must be set to GridGain installation directory
   (that is, IGNITE_HOME = GRIDGAIN_HOME).
 * GridGain for C++ must be built according to instructions for your platform
   (see platforms/gridgain/cpp/README.TXT).

Running examples on Linux
----------------------------------

Prerequisites:
 * GCC, g++, autotools, automake, and libtool must be installed.

Execute the following commands one by one from $GRIDGAIN_HOME/platforms/gridgain/cpp/examples directory:
 * libtoolize
 * aclocal
 * autoheader
 * automake --add-missing
 * autoreconf
 * ./configure
 * make

As a result several executables will appear in example's directory.

Before running examples ensure that:
 * LD_LIBRARY_PATH environment variable is set and pointing to a directory with "libjvm.so" library. Typically this
   library is located in $JAVA_HOME/jre/lib/amd64/server directory.


Running examples on Windows
----------------------------------

Prerequisites:
 * Microsoft Visual Studio (tm) 2010 or higher must be installed.
 * Windows SDK 7.1 must be installed.

Open Visual Studio solution %GRIDGAIN_HOME%\platforms\gridgain\cpp\examples\project\vs\gridgain-examples.sln and
select proper platform (x64 or x86). Run the solution.