Environment Variable

The EFTLink framework uses an environmental variable called EFTLINK_JAVA_HOME which provides EFTLink Server, EFTLink-Rest-API-Service, and all configuration scripts with the location of the Java JRE. You can either manually add this environment variable, or alternately each script, when executed will call setenv.bat (on Windows) or setenv.sh (on a Linux kernel) automatically setting the environment variable.

The setenv script will check if the Xstore JRE, located at C:\jre (on Windows) or /opt/jre (on a Linux kernel) is compatible, if so, then EFTLINK_JAVA_HOME will be set to the same location as Xstore. If not, it will be set to the alternative location: C:\jre_21 or /opt/jre_21.