jdk问题

安装完jdk和jdk的环境变量都配置完成之后
[root@ora profile.d]# java -version
-bash: /opt/jdk1.8.0_45/bin/java: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
[root@ora profile.d]#  yum install -y mesa-libGL.i686
...

[root@ora profile.d]# source java.sh
[root@ora profile.d]# java -version
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) Client VM (build 25.45-b02, mixed mode)
[root@ora profile.d]#