While Using java application, a common error is raised due to some missing library. I installed the below packages for fixing the error.
# yum provides */ld-linux.so.2
glibc-2.12-1.149.el6.i686 : The GNU libc libraries Repo : base Matched from: Filename : /lib/ld-linux.so.2
# yum -y install glibc-2.12-1.149.el6.i686
Once the installation is over, Java is working well in the server