今天重新搭配一套环境,在CentOs7上面重新安装了jdk1.8后提示:
bash: /opt/applications/jdk1.8.0_171/bin/java: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
在网上查了一下别人提供的解决方法,果然安装了glibc.i686可以解决
具体安装命令如下:
class="java" name="code">[root@centos07 applications]# yum install glibc.i686
?安装完成后查看结果,已解决
[root@centos07 applications]# java -version java version "1.8.0_171" Java(TM) SE Runtime Environment (build 1.8.0_171-b11) Java HotSpot(TM) Client VM (build 25.171-b11, mixed mode)
?
?