Launch4j - java 可执行包装器 - Windows7

发布于 2024-10-07 21:20:12 字数 233 浏览 0 评论 0原文

设想: 用 launch4j 包装的 java-app ——在 Windows Vista 的开发机器上工作正常——在普通的 Windows7 机器上它要求安装 Java JRE——但不会启动应用程序。

任何人都设法使用 Windows7 的 java-wrapper 创建可执行文件。

背景: - jar 具有所有依赖的 jar 和资源 - 尝试使用自定义清单以及指向主类的内置清单

感谢您的任何帮助

Scenario:
java-app wrapped with launch4j -- works fine on the dev-machine with Windows Vista -- on a plain Windows7 machine it asks to install Java JRE - but wont start the application.

Anybody managed to create an executable using a java-wrapper for Windows7.

Background:
- jar has all dependend jars and resources
- tried with a custom manifest as well as a build in manifest pointing to the Main class

Thanks for anykind of help

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

谁对谁错谁最难过 2024-10-14 21:20:12

launch4j 不是 JRE。它既不将 Java 对象转换为可在 Windows 中运行的可执行二进制格式。

它解释得很好: http://launch4j.sourceforge.net/

launch4j is not a JRE. It neither converts Java's object into a executable binary format to be run in Windows.

It explains it pretty well: http://launch4j.sourceforge.net/

凉宸 2024-10-14 21:20:12

我使用 NSIS 而不是 launch4j 来启动我的 java 应用程序:

http://nsis.sourceforge.net/Java_Launcher_with_automatic_JRE_installation

I use NSIS instead of launch4j to launch my java apps:

http://nsis.sourceforge.net/Java_Launcher_with_automatic_JRE_installation

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文