本文介绍了我可以将jar文件转换为exe吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
可能重复: (Java)jar to exe
如果我想要运行怎么办?没有JDK的电脑上的.jar程序......?
What if i want to run a .jar program on a pc that doesnt have the JDK...?
可能吗?
推荐答案选项包括:
- 在安装程序中包含Java Runtime Enviroinment(JRE)。这可能是最简单的选择。
- 包含JRE''和''将应用程序包装在一个小的本机可执行启动器中。 Exe4J 使MS Windows变得简单。
- 将Java代码编译为本机可执行文件。我自己没有这样做。一家声称支持这一点的公司是Excelsior;他们对此处的方法进行了比较。
- Include the Java Runtime Enviroinment (JRE) in your installer. This is probably the simplest option.
- Include the JRE ''and'' Wrap your application in a small, native executable launcher. Exe4J makes this easy for MS Windows.
- Compile your Java code to native executable. I haven't done this myself. A company claiming to support this is Excelsior; they have a comparison of approaches here.
更多推荐
我可以将jar文件转换为exe吗?
发布评论