作者:feileide2011_108 | 来源:互联网 | 2023-09-15 23:37
TheProblemCurrentlyIuseexe4j4.4.2towrapourclientappinaWindowsnativeexecutable,but
The Problem
Currently I use exe4j 4.4.2 to wrap our client app in a Windows native executable, but the result does not integrate with Windows 7 so well.
目前我使用exe4j 4.4.2将我们的客户端应用程序包装在Windows本机可执行文件中,但结果并没有很好地与Windows 7集成。
For example: When I right click in the task bar it only offers a pop-up to close the application but no pinning. Eclipse' Equinox launcher on the other hand does that with bravado.
例如:当我右键单击任务栏时,它只提供一个弹出窗口来关闭应用程序但没有固定。另一方面,Eclipse的Equinox发射器用虚张声势做到了这一点。
I'm looking for a java exe launcher which has the following features:
我正在寻找一个具有以下功能的java exe启动器:
- Wraps jars in Windows native executables (no Java Web Start or similar)
在Windows本机可执行文件中包装jar(没有Java Web Start或类似)
- Doesn't extract the jar from the executable
不从可执行文件中提取jar
- Doesn't need write access in "Program Files"
在“程序文件”中不需要写访问权限
- Uses executable filename as process name (only one process)
使用可执行文件名作为进程名称(只有一个进程)
- Integrates well with Windows 7 (esp. pinning in the taskbar)
与Windows 7完美集成(特别是在任务栏中固定)
- Allows setting of JVM arguments (esp. heap size)
允许设置JVM参数(尤其是堆大小)
- Flexible customization for JRE search
灵活的JRE搜索定制
- Lightweight
- Actively maintained
- Integrates well in Ant build
在Ant构建中很好地集成
- Preferably free
I have checked the following:
我检查了以下内容:
exe4j
- Windows 7 integration lacking
Windows 7集成缺乏
- It's not expensive but ordering and distribution of licenses to the build machines is a pain.
它并不昂贵,但是为构建机器订购和分发许可证是一件痛苦的事。
- JRE search not flexible enough
JRE搜索不够灵活
Eclipse Equinox
- Not lightweight
- Seems to do everything I want, except that I have no idea how to use it with a non-eclipse-based app.
似乎做我想做的一切,除了我不知道如何使用非基于非日食的应用程序。
- Can I use it outside of OSGI, PDE-Build world?
我可以在OSGI,PDE-Build世界之外使用它吗?
WinRun4J
- JRE search not well documented
JRE搜索没有很好的记录
- Seems not widely used despite incredible feature set, what am I missing?
尽管功能设置令人难以置信,但似乎没有被广泛使用,我缺少什么?
Launch4J
- Doesn't support setting the process name in Windows 7 (Bug ID 3353972). There is a patch (Bug ID 1670471) but it has been rejected with reference to jliftoff which is dead.
不支持在Windows 7中设置进程名称(错误ID 3353972)。有一个补丁(错误ID 1670471),但它已被拒绝参考jliftoff死了。
- JRE search not flexible enough.
JRE搜索不够灵活。
JSmooth
- Seems not to be actively maintained.
似乎没有积极维护。
- Latest release is from 2007, well before Windows 7.
最新版本发布于2007年,远早于Windows 7。
Are there any other options? Is there a chance to use the Eclipse launcher with a non Eclipse-base application?
还有其他选择吗?是否有机会将Eclipse启动程序与非基于Eclipse的应用程序一起使用?
4 个解决方案