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.
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:
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:
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?
To verify a local installation, a remote installation, and the cluster configuration, refer to the Testing System Environment section.
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.