You only need manual configuration if you don't want to use JRE (Java Runtime Environment) included with the product package. JRE used by SuperMap iPortal 10i(2020) is located in %SuperMap iPortal_HOME%/support by default.

Before manual configuration, you need to rename or delete the jre under %SuperMap iPortal_HOME%/support.

1. Steps for setting JRE (1.8 and above) environment variable are as follows:

  • If JDK was installed, set JAVA_HOME to the directory of JDK.
  • If JRE was installed, set JRE_HOME to the directory of JRE.

For example, setting JAVA_HOME in the system profile file (default path: /etc/profile) as follows:

export JAVA_HOME=/JDK directory

2. Set the encoding of the system as follows:

  • RedHat Linux System:

export LANG=en_US.UTF-8

  • SUSE Linux System:

export LANG=en_US.UTF-8

unset LC_CTYPE

3. Execute the source /etc/profile command to make the above settings effective.

4. Execute the echo command to check whether the settings are correct.

echo $LD_LIBRARY_PATH

Advanced users can also customize the JRE by directly modifying the %supermap iportal_home%/bin/setenv.sh.