Error when installing TDI on CentOS

I was stuck on this for a little while today when trying to install TDI 7 (Tivoli Directory Integrator) as part of a Connections installation on (unsupported) CentOS.

After extracting C1IF4ML and running ./ up popped the installation web page but when selecting “Tivoli Directory Integrator 7.0 Installer” I was presented with the following error:

“Bundled JRE is not binary compatible with the host OS/Arch or it is corrupt. Testing bundled JRE failed.”

After a bit of reading around people suggested it was due to the /tmp directory not having adequate space for the installation, but there seemed to be enough based on IBM’s disk space requirements.

Eventually I ran the following command which worked after creating another temporary directory:

./install_tdiv70_linux_x86_64.bin -is:tempdir /opt/temp