Configure for Genero Ghost Client
To use the Genero Ghost Client, you need to configure the environment.
The CLASSPATH, GGCDIR, FGLLDPATH, and other environment variables must be set for the GGC. Locate
the envggc script for your system in the root directory of your GGC
installation directory and set the environment.
- On Linux®/UNIX™/macOS™ run the script with the
source command at the command line:
source envggc
- On Windows®, execute the
envggc.bat at the command line:
envggc.bat
Configure for Genero tests
At a command prompt, navigate to $FGLDIR and execute the script to ensure
that FGLDIR and PATH are set correctly for Genero BDL. They are required to run compiler and runtime
system tools.
- On Linux/UNIX/macOS execute envcomp
- On Windows, execute envcomp.bat
Configure Java
The GGC API – both the Genero BDL version and the Java version – requires the
Java Development Kit (JDK). At the time of this writing, either JDK 17 or JDK 21 are required. For the latest on supported Java versions, refer to the Supported platforms and databases document available on the Four Js website.
The command java --version
displays the Java version being used.
Set the JAVA_HOME environment variable to the Java Development Kit (JDK) directory. Set the PATH
environment variable to include the JDK bin directory. For example, type one of
the following sets of commands.
- On Linux/UNIX/macOS:
export JAVA_HOME=~/Tools/java/jdk-17.0.1; export JDK_HOME=${JAVA_HOME}; export PATH=${JAVA_HOME}/bin:${PATH}
- On Windows:
set JAVA_HOME="C:\Program Files\Java\jdk-17.0.1" set JDK_HOME=%JAVA_HOME% set PATH=%JAVA_HOME%\bin;%PATH%