[英]How do third party jar to exe conversion affects software
sorry if it feels a noobish question. 抱歉,如果您觉得这个问题很讨厌。 My doubt is, if I converted a jar
file to .exe
file using software, such as exe4j or launch4j , will it still require a JRE enabled system to be able to run it, or will it just run like normal windows executable? 我的疑问是,如果我使用exe4j或launch4j之类的软件将jar
文件转换为.exe
文件,它是否仍需要启用JRE的系统才能运行,还是像普通Windows可执行文件一样运行?
Also, I wanted to know if there is any other way to convert jar
files to exe
without using 3rd party software, also, are there any side effects of converting a jar
program to exe
. 另外,我想知道是否有其他方法可以将jar
文件转换为exe
而不使用第三方软件,另外,将jar
程序转换为exe
是否有任何副作用。
Of course it needs a JRE, these tools just make it possible to run Java applications more easily on Windows. 当然,它需要一个JRE,这些工具使在Windows上更轻松地运行Java应用程序成为可能。 The application itself is still a Java application, it is just wrapped in a launcher. 该应用程序本身仍然是Java应用程序,只是包装在启动器中。
I myself would just create a batch file to start the application (or write a few-line simple application with the single task of starting the jar ). 我本人只是创建一个批处理文件来启动应用程序(或用启动jar的单个任务编写几行简单的应用程序)。
Update: exe4j and launch4j can embed a JRE. 更新: exe4j和launch4j可以嵌入JRE。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.