Setting JVM Location

Search XAP 6.6
Searching XAP 6.6 Documentation
Browse XAP 6.6
Offline Documentation

Download latest offline documentation in HTML format:
xap-6.6.1-documentation.zip (20.6MB)

                                                              

Summary: Setting the JAVAHOME parameter to tell GigaSpaces where the JDK is installed.

Overview

GigaSpaces has a dependency on the JAVA_HOME environment variable being set. Make sure you have an environment variable JAVA_HOME defined pointing to your JDK root directory.
In the case of JAVA_HOME not being set, GigaSpaces script files will print an error message.

YOU MUST SUPPLY A JAVA_HOME environment variable or set it in "<GigaSpaces installation>\bin\setenv"
The system cannot find the path specified.

You may also modify the <GigaSpaces Cache Root>\bin\setenv.sh to set the JAVA_HOME variable.
Unix: setenv.sh

# - Set or override the JAVA_HOME variable
# - By default, the system value is used.
JAVA_HOME="/utils/jdk1.5.0_01"

Windows: setenv.bat

@rem - Set or override the JAVA_HOME variable
@rem - By default, the system value is used.
set JAVA_HOME="D:\jdk1.5.0_04"
IMPORTANT: This is an old version of GigaSpaces XAP. Click here for the latest version.

Labels