How to fix “Bundled JRE is not binary compatible with host OS/Arch or it is corrupt. Testing bundled JRE failed.” error while installing TIBCO EMS 8.1 on Ubuntu 14.04 LTS 64-bits

During the installation of EMS 8.1 in console mode on Ubuntu 14.04, I encountered an error that you typically get when you’re trying to run 32-bit executable files in a 64-bit multi-arch Ubuntu version.

The solution is to simply add i386 architecture by runinng the following commands:
sudo dpkg –add-architecture i386
sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386


After running these commands successfully, restart your installation by running the TIBCO Universal Installer again.