如何将 Java 转换为 Exe
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2855937/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How Can I convert Java To Exe
提问by eyal
Possible Duplicate:
Compiling a java program into an exe
可能的重复:
将 java 程序编译为 exe
Hi, I'd like to convert my java application to exe file which is not depends on a pre installed JRE file. Which tool can do so? I prefer to converty my application to a real exex file. Thanks, Eyal.
嗨,我想将我的 java 应用程序转换为不依赖于预先安装的 JRE 文件的 exe 文件。哪个工具可以这样做?我更喜欢将我的应用程序转换为真正的 exex 文件。谢谢,埃亚尔。
回答by folone
The beauty of java is that it is platform independent. So, converting it to a platform-dependent executable is a great sin: it kills the very purpose of java!
java的美妙之处在于它是平台无关的。因此,将其转换为依赖于平台的可执行文件是一个大罪:它扼杀了 java 的真正目的!
But if you're okay with that, use some thirdparty software.
但是,如果您对此感到满意,请使用一些第三方软件。
Commercial:
商业的:
Free:
自由:
More similar discussions are here, here, here, hereand even here.

