Aug 3, 2016

SOLVED: Java 32bit error on 64bit CentOS ::

Attempts to run 32bit Java on a 64bit system, the following errors would display:

/XXXXXXX/runtime/LNX86/bin/java: /lib/ bad ELF interpreter: No such file or directory

Exception in thread "main" java.lang.UnsatisfiedLinkError: /XXXXXXXX/runtime/LNX86/lib/i386/xawt/ cannot open shared object file: No such file or directory

To fix, install the following (tested on CentOS7):

sudo yum install glibc.i686
sudo yum install libXext.i686
sudo yum install  libXrender.i686
sudo yum install  libXtst.i686

Now you should be able to run the Java application.