跨平台的Java可执行程序包装工具 launch4j

fmms 7年前
     <p><img style="width:249px;height:58px;" alt="Java 转可执行程序工具 launch4j" src="https://simg.open-open.com/show/8ae3f17dca566c7b7fe14d0e0cf115b2.gif" width="249" height="58" /> <span class="version"><br /> </span>launch4j 可以用来将Java应用程序转成Windows本地可执行文件 (.exe)。提供了本地弹出屏幕,应用程序图标,JRE搜索或使用绑定的JRE,启动失败反馈,传递命令行参数,ANT编译脚本等功能。<img style="width:352px;height:498px;margin-left:100px;" alt="Java 转可执行程序工具 launch4j" src="https://simg.open-open.com/show/4822898daa998ee15561e791cefde1d9.gif" width="352" height="498" /> </p>    <h2>功能特性:</h2>    <ul>     <li>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, Mac OS X and Solaris! </li>     <li>Also creates <strong>launchers</strong> for jars and class files without wrapping.</li>     <li>Supports executable jars and <strong>dynamic classpath</strong> resolution using environment variables and wildcards. </li>     <li><strong>Doesn't extract the jar</strong> from the executable.</li>     <li>Custom application icon with multiple resolutions and color depths.</li>     <li><strong>Native pre-JRE splash screen</strong> in BMP format shown until the Java application starts. </li>     <li><strong>Process name</strong> as the executable filename to easily identify your application, initial <strong>priority</strong> and <strong>single aplication instance</strong> features. </li>     <li>Works with a bundled JRE or searches for newest Sun or IBM JRE / JDK in given version range.</li>     <li>Opens <strong>Java download page</strong> if an appropriate Java version cannot be found or a <strong>support website</strong> in case of an error. </li>     <li>Supports <strong>GUI and console apps</strong>.</li>     <li>Supports <strong>Vista manifests</strong> and <strong>XP visual style manifests</strong>.</li>     <li>Passes command line arguments, also supports constant arguments.</li>     <li>Allows to set the initial/max heap size also <strong>dynamically</strong> in percent of free memory.</li>     <li>JVM options: set system properties, tweak the garbage collection...</li>     <li>Runtime JVM options from an .l4j.ini file.</li>     <li>Runtime command line switches to change the compiled options.</li>     <li>Access to environment variables, the <strong>registry</strong> and executable file path through system properties.</li>     <li><strong>Set environment variables.</strong></li>     <li>Option to change current directory to the executable location.</li>     <li>The JRE's bin directory is appended to the Path environment variable.</li>     <li>Custom <strong>version information</strong> shown by Windows Explorer.</li>     <li><strong>GUI</strong> and command line interface.</li>     <li>Build integration through an <strong>Ant task</strong> and a <strong><a href="/misc/goto?guid=4958830092865744490">Maven Plugin</a></strong>.</li>     <li><big><strong>Lightweight: 26 KB!</strong></big></li>     <li><strong>It's free</strong> and may be used for commercial purposes.</li>     <li>Includes a sample application and <strong>Ant script</strong> that automates the build process from Java sources to native executable. </li>     <li>The wrapped program works on all Windows platforms (98/Me/NT/2K/XP/Vista), Launch4j works on NT/2K/XP/Vista, Linux, Mac OS X (build on 10.4) and Sparc Solaris 8-10. </li>    </ul>    <p><img alt="Java 转可执行程序工具 launch4j" src="https://simg.open-open.com/show/bed8d453927407e501ec91ec450d3a7f.jpg" width="638" height="468" /><br /> <br /> </p>    <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1326178723046" target="_blank">http://www.open-open.com/lib/view/home/1326178723046</a></p>