-bash: ./aliyunpan: cannot execute binary file: Exec format error
时间: 2023-08-26 15:13:15 浏览: 223
这个问题是因为无法执行二进制文件引起的。根据你提供的引用内容,可能有几个原因导致这个错误。首先,确保你的机器和安装包都是64位的。其次,你可以尝试设置正确的JAVA_HOME环境变量,并将其添加到PATH中。最后,你要确保使用正确的命令来编译和运行程序。检查一下这些因素,看看是否解决了你的问题。如果还是无法解决,请提供更多的信息,以便我能够帮助你找到更准确的解决方案。<em>1</em><em>2</em><em>3</em>
#### 引用[.reference_title]
- *1* [【报错分析】Linux系统中JDK报错 -bash: ./java: cannot execute binary file: Exec format error](https://blog.csdn.net/m0_46360532/article/details/119810475)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}} ] [.reference_item]
- *2* [解决linux下cannot execute binary file: Exec format error(centos下卸载和安装jdk)](https://blog.csdn.net/weixin_41665637/article/details/113113279)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}} ] [.reference_item]
- *3* [解决linux下cannot execute binary file: Exec format error](https://blog.csdn.net/owen7500/article/details/52397353)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}} ] [.reference_item]
[ .reference_list ]
阅读全文