安装JDK出现错误:-bash: /usr/java/jdk1.7.0_71/bin/java: /lib/ld-linux.so.2: bad ELF interpreter: No such fi...

1、错误描述:安装好jdk之后,通过java -version,javac,java等命令测试是否安装成功时出现错误-bash: /usr/java/jdk1.7.0_71/bin/java: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

2、错误原因:没有那个文件或目录,需要安装glibc

安装JDK出现错误:-bash: /usr/java/jdk1.7.0_71/bin/java: /lib/ld-linux.so.2: bad ELF interpreter: No such fi..._第1张图片

3、解决办法:终端输入sudo yum install glibc.i686命令,安装好glibc,问题解决

安装JDK出现错误:-bash: /usr/java/jdk1.7.0_71/bin/java: /lib/ld-linux.so.2: bad ELF interpreter: No such fi..._第2张图片

 

 

扫描下面二维码,关注本人微信公众号,了解更多

 

转载于:https://www.cnblogs.com/compassblog/p/8328605.html

你可能感兴趣的:(安装JDK出现错误:-bash: /usr/java/jdk1.7.0_71/bin/java: /lib/ld-linux.so.2: bad ELF interpreter: No such fi...)