When running the Spectrum Installer on linux an error is returned and the installer exits.
"JRE libraries are missing or not compatible"
The /tmp filesystem was mounted with the 'noexec' flag which prevents anything from being executed on the filesystem. Spectrum uses
InstallAnywhere which extracts the installer files under /tmp and executes the java installer from there.
1. Create an alternate tmp location and map an InstallAnywhere environment variable to point to the new location
ex.
mkdir -p /opt/tmp chmod 774 /opt/tmp export IATEMPDIR=/opt/tmp ./setuplin.exe
2. In the case of using 'sudo' for the install. Sudo will not see the environment variable set in the session
- update the sudoers (/etc/sudoers) file to allow the IATEMPDIR env to be set
/etc/sudoers Defaults env_keep +="IATEMPDIR"
- execute the installer using sudo while setting the env as well sudo IATEMPDIR=/opt/tmp ./setuplin.exe
Note: If the sudoers file is not updated it may not allow the environment variable and you could see an error like
"sudo: sorry, you are not allowed to set the following environment variables: IATEMPDIR"