linux系统中安装jdk出现bash: ./java: cannot execute binary file 问题

linux系统中安装jdk出现bash: ./java: cannot execute binary file 问题

问题现象描述:

    执行这个命令  ./java
    bash: ./java: cannot execute binary file

在网上找原因,发现是我装的linux系统是32位的,而我装的jdk是64位的
jdk1.8.0_131

[root@mini jdk1.8.0_131 ]# java/ jdk1.8.0_131/bin/java
-bash: java/ jdk1.8.0_131/bin/java: cannot execute binary file
已标记关键词 清除标记
©️2020 CSDN 皮肤主题: 成长之路 设计师:Amelia_0503 返回首页