java launch文件_Java应用程序的Windows本地可执行文件封装器launch4j

Launch4j是一个开源的安装程序,将jar文件打包成操作系统的本地可执行文件,支持Windows、MacOS、Linux和Solaris。对于JRE,可以嵌入在安装文件中,也可以在安装时提示用户下载正确的JRE版本。Launch4j更加吸引人的地方是,在启动Java程序之前或者之中,支持闪屏(splash screen)。

1538273750733066217.gif

特性:

Launch4j wraps jars in Windows native executables and allows to run them like a regular Windows program. It's possible to wrap applications on Windows, Linux and Mac OS X!

Also creates launchers for jars and class files without wrapping.

Supports executable jars and dynamic classpath resolution using environment variables and wildcards.

Doesn't extract the jar from the executable.

Custom application icon with multiple resolutions and color depths.

Native pre-JRE splash screen in BMP format shown until the Java application starts.

Initial priority and single application instance features.

Works with a bundled JRE or searches for newest Sun or IBM JRE / JDK in given version range and type (64-bit or 32-bit).

Opens Java download page if an appropriate Java version cannot be found or a support website in case of an error.

Supports GUI and console apps.

Supports Windows application manifests.

Passes command line arguments, also supports constant arguments.

Allows to set the initial/max heap size also dynamically in percent of free memory.

JVM options: set system properties, tweak the garbage collection...

Runtime JVM options from an .l4j.ini file.

Runtime command line switches to change the compiled options.

Access to environment variables, the registry and executable file path through system properties.

Set environment variables.

Option to change current directory to the executable location.

The JRE's bin directory is appended to the Path environment variable.

Ability to restart the application based on exit code.

Custom version information shown by Windows Explorer.

Digital signing of the executable with sign4j.

Supports Windows Security Features of the Windows 8 certification kit.

GUI and command line interface.

Build integration through an Ant task and a Maven Plugin.

Lightweight: 35 KB!

It's free and may be used for commercial purposes.

Includes a sample application and Ant script that automates the build process from Java sources to native executable.

The wrapped program works on all Windows platforms, Launch4j works on Windows, Linux and Mac OS X.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值