[英]how to run windows java executable that have extension .exe on linux
i have .exe file, that file is java executable, how i can run it into linux system, "wine" is not working, i can do open it file with 7zip file manager and it is archive that contains some of java *.class files. 我有.exe文件,该文件是Java可执行文件,我如何将其运行到linux系统中,“葡萄酒”无法正常工作,我可以使用7zip文件管理器打开文件,并且它是包含一些Java * .class的存档文件。 But have not contain the *.jar file.
但没有包含* .jar文件。
Is it possible to run this program under Linux? 可以在Linux下运行该程序吗?
This is one of the major reasons not to create .exe
Java executives. 这是不创建
.exe
Java执行人员的主要原因之一。 The solution is to create a jar file with your Java code and run that on Windows or Linux or Mac. 解决方案是使用Java代码创建一个jar文件,然后在Windows 或 Linux 或 Mac上运行该文件。 If this is not your code, then the solution is to contact the developer or distributor for their jar files.
如果这不是您的代码,则解决方案是与开发人员或发行商联系以获取其jar文件。
您可以尝试Wine HQ ,我将它用于很多要在我的Linux机器上运行的.exe文件,但它从未令我失望:)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.