Summary: Requirements and how to install GigaSpaces with Windows, Linux or Unix.

Overview

GigaSpaces is 100% pure Java, and therefore can run on any UNIX or Windows machine that supports Java.

Prior to Installation

Prior to the GigaSpaces installation, make sure:

  • JDK 1.4 or 1.5 is installed (see note below):
    • JDK 1.4
    • JDK 1.5 – download the latest update (for example, JDK 5.0 Update 15)
  • The JAVA_HOME environment variable points to the correct JDK (not JRE) directory before running GigaSpaces. For example, D:\Java\jdk1.5.
  • The JAVA_HOME environment variable should be added to the beginning of the Path environment variable. For example, %JAVA_HOME%;SystemRoot%\system32;%SystemRoot%;%SystemRoot%
  • Your network and machines running GigaSpaces are configured to have multicast enabled. See the Multicast Configuration section for details on how to enable multicast.
  • You have reviewed the Supported Platforms section.

Installation

Installing on Windows

  1. Unzip the ZIP file (using your favorite unzip tool, for example, WinZip) to the location of your choice. Unzipping the file creates a <GigaSpaces Root> directory with several sub-directories. An example for the name of the ZIP file:
    • XAP (eXtreme Application Platform) – gigaspaces-xap-6.6.0-ga-b2597.zip
    • XAPCommunity – gigaspaces-xapcommunity-6.6.0-ga-b2597.zip

  2. After unzipping the ZIP file, you should have the following files and folders under the <GigaSpaces Root> folder:

What's Next?

Installing on Linux

  1. Go to the directory into which you want to install, e.g. opt, and issue the unzip following command, supplying the path to the name of the ZIP file – gigaspaces-edition-versionNumber_version/milestone_build.zip. For example:
    • XAP (eXtreme Application Platform) – unzip gigaspaces-xap-6.6.0-ga-b2597.zip
    • XAPCommunity – unzip gigaspaces-xapcommunity-6.6.0-ga-b2597.zip
  2. Make sure all sh file(s) in the /bin and the /examples directory are in executable mode, meaning you can run them from your machine. To check this, use the ls -all command for the relevant directory, and make sure that x is included in the file permissions.

What's Next?

Mixing Versions

Mixing GigaSpaces versions/builds

Supported:
Applications built using GigaSpaces 6.5 (these run without any code changes on a clean 6.5 installation).

Not supported:
Mixing clients/servers from different GigaSpaces releases/builds – 6.5 clients can not run against 6.5.x servers. 6.5.x clients can not run against 6.5 servers. 6.5.x servers do not communicate well with 6.5 servers.

Mixing JDK 1.4 and JDK 1.5 Environments

GigaSpaces running with JDK 1.5 can run with GigaSpaces 1.4 JARs, but GigaSpaces running with JDK 1.4 can't run with GigaSpaces 1.5 JARs:

If you have GigaSpaces running with JDK 1.4 and another installation of GigaSpaces running with JDK 1.5, use the GigaSpaces JAR files from the earliest version – copy the JSpaces.jar and JSpaces-ui.jar files from the <GigaSpaces Root>\lib directory of your GigaSpaces 1.4 installation to the <GigaSpaces Root>\lib directory of your GigaSpaces 1.5 installation.

GigaSpaces .NET does not support JDK 1.4.

Mixing Different GigaSpaces JARs in Same Deployment Environment

GigaSpaces components (space, cluster of spaces, Processing Unit, GSM, GSC, LUS, Mahalo, GUI, CLI) can run only with the same GigaSpaces JARs (i.e., the same version and same build number).

Important Tips

Use JDK and not JRE

It is recommended to use a JDK (Java Development Kit), and not a JRE (Java Runtime Environment), which can be used for runtime only and not for development. However, if you do decide to use a JRE, make sure the JAVA_HOME environment variable points to the correct JRE directory.

You should also remove specific JDK command-line arguments, like -server, which do not exist in JRE.

Performance Tips

Before you begin working with GigaSpaces, it is recommended to review the Performance Tuning and Considerations sections and apply some of the required changes. For example, you must update the max file descriptors limit before you begin.

GigaSpaces.com - Legal Notice - 3rd Party Licenses - Site Map - API Docs - Forum - Downloads - Blog - White Papers - Contact Tech Writing - Gen. by Atlassian Confluence