java - 在 linux 中运行可执行文件 - 不工作

标签 java linux eclipse

我在 linux 中运行可执行文件时遇到问题。

路径为:root/Downloads/eclipse_BIRT_Report_Designer

当双击文件 eclipse.exe 时,我收到以下错误:

Archive: /root/Downloads/eclipse_BIRT_Report_Designer/eclipse.exe [/root/Downloads/eclipse_BIRT_Report_Designer/eclipse.exe]
End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. note: /root/Downloads/eclipse_BIRT_Report_Designer/eclipse.exe may be a plain executable, not an archive zipinfo: cannot find zipfile directory in one of /root/Downloads/eclipse_BIRT_Report_Designer/eclipse.exe or /root/Downloads/eclipse_BIRT_Report_Designer/eclipse.exe.zip, and cannot find /root/Downloads/eclipse_BIRT_Report_Designer/eclipse.exe.ZIP, period.

foie在属性中设置为“允许执行文件作为程序运行”。

使用终端命令 ./eclipse.exe 时出现以下错误:

[root@localhost eclipse_BIRT_Report_Designer]# ./eclipse.exe bash: ./eclipse.exe: cannot execute binary file

有什么解决办法吗?请保持简单,因为我是新手。

最佳答案

您可能下载了仅适用于 Windows 的错误版本。有一个适用于 Linux 的多合一下载选项,网址为

http://download.eclipse.org/birt/downloads/

并运行可执行文件。

关于java - 在 linux 中运行可执行文件 - 不工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41980763/

相关文章:

Java Streams 检查空值

java - 自动重构源java代码而不是jar

linux - 如何通过程序而不是命令清除linux中的arp缓存

java - 为什么这个 SCJP 程序给出输出 21 但我得到 20?

Java 7 在 Win7 上创建路径为 230 个字符的文件失败

linux - grep 不显示从文件中读取 id 的结果

linux - 如何在centos中复制其名称部分已知的文件夹的内容

java - 有人有示例 GWT 2.7.0 Maven Eclipse IDE 项目吗?

eclipse - 如何在 BIRT 中通过 URL 传递输入参数?

java - Eclipse:读取不同文件夹中的包