我可以将jar文件转换为exe吗?

编程入门 行业动态 更新时间:2024-10-08 14:39:00
本文介绍了我可以将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吗?

本文发布于:2023-11-02 07:07:52,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1551702.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:转换为   文件   jar   exe

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!