Upgrade to launch4j 3.0.1 2008-07-20.

The license is BSD for launch4j and MIT for the wrapper code in head/

Changelog is in installer/lib/launch4j/web/changelog.html
Hopefully this will fix installs for 64-bit JRE on 64-bit windows.

The previous version was 2.0-RC3 2005-08-13.
The previous license was GPLv2 for launch4j and LGPLv2.1 for the wrapper code in head/

The bin/ld.exe and bin/windres.exe files were contributed by
i2p users in 2005 so the i2p installer could be built on windows.

They have not been updated for 3.0.1, so pkg builds on windows
will presumably still get 2.0-RC3.
This commit is contained in:
zzz
2010-02-09 17:21:48 +00:00
parent d7e90969d0
commit 7212f855d8
165 changed files with 12948 additions and 8379 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 B

View File

@@ -1,202 +1,356 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Launch4j :: Cross-platform java application wrapper for creating Windows native executables</title><meta content="Grzegorz Kowal" name="author">
<meta content="Cross-platform java application wrapper for creating Windows native executables.
Features native splash screen, application icon, small stub." name="description">
<meta name="Keywords" content="Java, java, exe, native, windows, Windows, jar, wrap, wrapper, launch,
run, execute, executable, splash, icon, ico, ant, build, script, deploy, free, freeware, open source,
gpl, GPL, lgpl, LGPL, sourceforge, c++, C++, W2K, WXP, W98, linux, Linux">
<link rel="stylesheet" type="text/css" href="layout.css">
<link rel="stylesheet" type="text/css" href="style.css"></head>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Launch4j - Cross-platform Java executable wrapper</title>
<meta name="description" content="Cross-platform Java executable wrapper for creating lightweight Windows native EXEs. Provides better user experience.">
<meta name="keywords" content="java executable wrapper, java application wrapper, exe wrapper, jar wrapper, wrap, wraps, wrapping, free software, launch, launcher, linux, mac, windows, open source, ant, solaris, native splash screen, deploy, build tool">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="author" content="Grzegorz Kowal" >
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div id="container">
<div id="top">
<img style="width: 249px; height: 58px;" src="launch4j.gif" alt="launch4j"> <span class="version">3.0.1</span>
</div>
<div id="leftnav">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="docs.html">Docs</a></li>
<li><a href="changelog.html">Changelog</a></li>
<li><a href="http://sourceforge.net/project/screenshots.php?group_id=95944">Screenshots</a></li>
<li><a href="http://sourceforge.net/project/showfiles.php?group_id=95944&amp;package_id=192323">Download</a></li>
<li><a href="http://sourceforge.net/forum/?group_id=95944">Support</a></li>
<li><a href="http://sourceforge.net/projects/launch4j">Project summary</a></li>
<li><a href="http://sourceforge.net/tracker/?atid=613100&amp;group_id=95944">Bug tracker</a></li>
<li><a href="links.html">Links</a></li>
</ul>
<!--
*** Spanish docs are outdated ***
<ul style="margin-top: 20px; font-size: 75%">
<li><a href="index.html">English</a></li>
<li><a href="index_es.html">Español</a></li>
</ul>
-->
</div>
<div id="content">
<h2>Changelog</h2>
<h4>Changes in version 3.0.1 (20-07-2008)</h4>
<ul class="changes">
<li>Enhanced the runtime logging (--l4j-debug).</li>
<li>Fixed critical bug #1925387 64-bit JDK detection problem caused a runtime search error (found by Stivo).</li>
<li>Fixed bug #1919406, #1989479 Not every option is loaded from saved xml file (found by Robert Lachner, Jan-Philipp Rathje).</li>
<li>Fixed bug #1930222 Simple typo (found by Daniel).</li>
</ul>
<body>
<div id="container">
<div id="top"><img style="width: 249px; height: 58px;" alt="" src="launch4j.gif"><span style="color: rgb(48, 127, 225);"> <small><span style="font-weight: bold; font-family: Helvetica,Arial,sans-serif;">1.4.2,&nbsp;
2.0.RC3</span></small></span>
</div>
<div id="leftnav">
<ul id="navlist">
<li><a href="index.html"><span style="font-weight: bold;"></span>Home</a></li>
<li><a href="docs1.html"><span style="font-weight: bold;"></span>1.x
docs</a></li>
<li><a href="docs2.html"><span style="font-weight: bold;"></span>2.x
docs</a></li>
<li><a href="changelog.html"><span style="font-weight: bold;"></span>Changelog</a></li>
<li><a href="http://sourceforge.net/project/screenshots.php?group_id=95944"><span style="font-weight: bold;"></span>Screenshots</a></li>
<li><a href="http://sourceforge.net/project/showfiles.php?group_id=95944"><span style="font-weight: bold;"></span>Download</a></li>
<li><a href="http://sourceforge.net/forum/?group_id=95944"><span style="font-weight: bold;"></span>Support</a></li>
<li><a href="http://sourceforge.net/projects/launch4j"><span style="font-weight: bold;"></span>Project
summary</a></li>
<li><a href="http://sourceforge.net/tracker/?atid=613100&amp;group_id=95944"><span style="font-weight: bold;"></span>Bug
tracker</a></li>
<li><a href="links.html"><span style="font-weight: bold;"></span>Links</a></li>
<h4>Changes in version 3.0.0 (16-03-2008)</h4>
<ul class="changes">
<li>FR #1390075 Added dynamic initial/max heap values.</li>
<li>FR #1707827 Allow to prefer JDK private runtimes over JREs (Ian Roberts).</li>
<li>FR #1730245 Allow to run only a single aplication instance (Sylvain Mina).</li>
<li>FR #1391610 Added IBM JRE/JDK support.</li>
<li>Added environment variable expansion in bundled JRE path.</li>
<li>Fixed critical bug #1882524 JRE detection problem on 64-bit Windows.</li>
<li>Fixed bug #1758912 Vista elevation to full administrator privileges.</li>
<li>Fixed bug #1784341 Problems with spaces in paths under linux (Michael Piefel).</li>
<li>Fixed bug where /bin was appended to path environment variable instead of jre_path/bin.</li>
</ul>
</div>
<div id="content">
<h2>Changelog</h2>
<strong>Changes in version 2.0 RC3 (13-08-2005) -&nbsp;final RC<br></strong><ul><li>Correct handling of pathnames with spaces.</li><li>Fixed the '%20' pathname bug.</li><li>Fixed basedir bug&nbsp;(Richard Xing).</li><li>Splash screen can be closed when the application window becomes visible with out specifying it's title (Martin Busik),&nbsp;update your config file: <font color="#ff0000">&lt;waitForTitle&gt;title&lt;/waitForTitle&gt;</font>
is now <font color="#ff0000">&lt;waitForWindow&gt;true&lt;/waitForWindow&gt;</font>.</li><li>Fixed build.bat files in demo directories.</li></ul><strong>Changes in version 2.0 RC2 (21-06-2005)<br>
</strong>
<ul>
<li>chdir allows to change the current directory to arbitrary paths
relative to the executable (FR #1144907). It's incompatible with
previous versions, update your config file: <font color="#ff0000">&lt;chdir&gt;true&lt;/chdir&gt;</font>
is now <font color="#ff0000">&lt;chdir&gt;.&lt;/chdir&gt;</font>.<br>
</li>
<li>Embedded JRE path no longer depends on chdir function.<br>
</li>
<li>Fixed Ant task bug, build files outside launch4j's directory
wouldn't work. (Josh Elsasser submitted a patch that works without
setting launch4j's home dir in the build file. Thanks!).</li>
<li>Removed static edge from splash screen (Serge Baranov).</li>
<li>Program checks that the output file path doesn't contain spaces.</li>
<li>Fixed a NPE bug caused by a missing maxVersion property (found by
Morgan Schweers).</li>
<li>Fixed relative JRE path bug (found by Nili_).</li>
<li>Cleaned up the Builder class.</li>
<li>Fixed Ant task NPE where the config was entirely defined in the
build file (Josh Elsasser).</li>
<h4>Changed license to BSD, MIT (26-01-2008)</h4>
<ul class="changes">
<li>
The upcoming Launch4j 3.0.0 release will be licensed under the much more
liberal new BSD license. The head subproject (the binary header attached to wrapped jars)
will be licensed under the similar MIT license.
</li>
</ul>
<strong>Changes in version 2.0
RC (07-06-2005)</strong><br>
<ul>
<li>Added an Ant task for better build integration.</li>
<li>Added 2.x documentation.</li>
<li>Updated the demo configuration files.</li>
<li>Fixed issues with relative paths in the configuration.</li>
<li>Removed the '-1' option in console mode.<br>
</li>
<li>Minor fixes.<br>
</li>
</ul>
<strong>Changes in version 2.0
beta2 (23-05-2005)<br>
</strong>
<ul>
<li># comments are recognized when importing 1.x cfg files.</li>
<li>Added version information.</li>
<li>Resource file is displayed when a resource error occurs.</li>
<li>Fixed a bug found by Max, options on the first tab were always
enabled.<br>
</li>
</ul>
<p><strong>Changes in version 2.0
beta1 (13-05-2005)<br>
</strong> </p>
<ul>
<li>Completely new, cross-platform wrapper - create windows
executables on Linux.<br>
</li>
<li>New .xml configuration file.</li>
<li>Application icon with multiple resolutions and color depths.</li>
<li>Swing GUI interface.</li>
<li>Header compiled with MinGW port of gcc instead of VC++.<br>
</li>
</ul>
<strong></strong><strong>Changes in version
1.4.2 (12-03-2005)</strong><span style="font-weight: bold;"><br>
</span>
<ul>
<li>Fixed bug #1158143<span style="font-weight: bold;">, </span>stayAlive
without a splash screen caused an infinite loop (found by Gregory
Kotsaftis).<br>
</li>
</ul>
<span style="font-weight: bold;"></span><strong>Changes in
version 1.4.1 (04-03-2005)</strong><br>
<ul>
<li>Fixed bug #1119040, buffer for reading config properties
was too short (found by Tom Jensen and Neil).</li>
<li>Added configurable splash timeout (FR #1102951).</li>
<li>Added option to disable the error message on splash timeout
(FR #1109159).</li>
<li>Option to keep the gui launcher 'alive' after starting an
application (FR #1124653).</li>
<li>Removed version info.</li>
<li>'waitfor' property is now optional.</li>
</ul>
<span style="font-weight: bold;"></span><strong>Changes in
version
1.4.0
(26-01-2005)</strong><b><br>
</b>
<ul>
<li>Removed .lch4j suffix from process name, now it has the
form of the executable filename. The temporary launchers are stored in
launch4j-tmp directory (suggested by Emmanuel).</li>
<li>Added support for console apps (FR #1050053).</li>
</ul>
<br>
<span style="font-weight: bold;"></span><strong>Changes in
version
1.3.1
(05-11-2004)</strong><b><br>
</b>
<ul>
<li>Fixed a bug where explorer window was opened instead of
launching the application when setProcName was set to false (found by
Rob Jones).</li>
<li>Fixed temporary launcher deletion bug.</li>
</ul>
<br>
<strong>Changes in version 1.3.0 (01-11-2004)</strong><b><br>
</b>
<ul>
<li>Now you can configure launch4j to:<br>
<ul>
<li>Use a bundled JRE.</li>
<li>Search for java, show an error message if the
right version cannot be found and open the java download page.</li>
<li>And a feature you asked for: use bundled JRE, if
that fails search for java and bring up the java download page on error.</li>
</ul>
</li>
<li>Enhanced code that sets the custom process name. In
case launch4j can't refresh the temporary launcher, bundled JRE on a
read only file system for example, it will use one created previously,
if it's present and has the correct size. If not, launching will still
continue, but with javaw.exe process name.Temporary launchers are
now created in the jre directory instead of jre/bin.<br>
</li>
<li>errTitle property allows to set the title of the error
message box.</li>
</ul>
<b><br>
</b><strong>Changes in version 1.2.1 (25-09-2004)</strong><b><br>
</b>
<ul>
<li>Bugfix that allows launching from command line using short
name (#1026514 / found by Zach Del)</li>
</ul>
<b><br>
</b><strong>Changes in version 1.2.0 (10-09-2004)</strong><br>
<ul>
<li><strong>Custom process name</strong> (<i>myapp.lch4j.exe</i>)</li>
<li><strong>9 KB stub!</strong></li>
<li>Jar arguments<br>
</li>
<li>Bugfix that allows launching from command line.</li>
<li>Hide splash on javaw error.<br>
</li>
<li>Easier configuration with case insensitive parameters +
show
unrecognized parameter.</li>
<li>12 KB demo application, 34 KB with splash screen.</li>
<li><font color="#ff0000">Configuration parameter 'args' <strong>changed
to</strong> 'jvmArgs'</font></li>
</ul>
</div>
<div id="footer">
Copyright
&copy; 2005 Grzegorz Kowal
<br>
<br>
<p><a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=95944&amp;type=4" alt="SourceForge.net Logo" border="0" height="37" width="125"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="http://www.nosoftwarepatents.com"><img alt="" src="http://www.nosoftwarepatents.com/banners/90x40_3.jpg" style="border: 0px solid ; width: 90px; height: 40px;"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!" border="0" height="31" width="88"></a>
</p>
</div>
</div>
</body></html>
<h4>Changes in version 3.0.0-pre2 (29-10-2006)</h4>
<ul class="changes">
<li>Enhanced GUI.</li>
<li>Redesigned error reporting.</li>
<li>Added custom error messages.</li>
<li>Added support website feature.</li>
<li>Added PWD and OLDPWD special variables and access to the registry.</li>
<li>Runtime ini file extension changed to .l4j.ini, added comments (#).</li>
<li>FR #1427811 Initial process priority.</li>
<li>FR #1547339 Added VarFileInfo structure to Version Info (Stephan Laertz).</li>
<li>FR #1584295 Updated documentation for --l4j-debug.
<li>Fixed &lt;jarArgs/&gt; and &lt;args/&gt; config conversion bug (found by Dafe Simonek).</li>
<li>Fixed the Ant task exception reporting bug, added tmpdir and bindir attributes.</li>
<li>Fixed bug #1563415 Problem with launching application when ini file exists (found by mojomax).</li>
<li>Fixed bug #1527619 Console header wildcard expansion (found by erikjv).</li>
<li>Fixed bug #1544167 NPE when dontwrap and only classpath given (found by Hendrik Schreiber).</li>
<li>Fixed bug #1584264 Dropdown boxes get mixed up (found by Larsen).</li>
</ul>
<h4>News (17-10-2006)</h4>
<ul class="changes">
<li><a href="http://9stmaryrd.com/tools/launch4j-maven-plugin/">Launch4j Maven Plugin by Paul A. Jungwirth</a></li>
</ul>
<h4>Changes in version 3.0.0-pre1 (21-07-2006)</h4>
<ul class="changes">
<li>Improved configuration file format and embedded Ant config.</li>
<li>Launch executable jars, regular jars and class files.</li>
<li>Added dynamic classpath resolution with environment variable references and wildcards.</li>
<li>Added option to set environment variables before launching the application.</li>
<li>New command line switches to change the compiled options.</li>
<li>Improved debug information.</li>
<li>Added support for XP visual style manifests.</li>
<li>Added option to disable use of private JREs.</li>
<li>Many small fixes and improvements...</li>
</ul>
<h4 class="warn">Configuration file changes in 3.x</h4>
<ul class="changes">
<li>Previous formats (1.x and 2.x) are supported.</li>
<li><em>&lt;headerType&gt;</em> accepts gui|console</li>
<li><em>&lt;jarArgs&gt;</em> was changed to <em>&lt;cmdLine&gt;</em></li>
<li>
<em>&lt;launch4jConfig&gt;&lt;headerObjects&gt;&lt;file&gt;</em> was changed to
<em>&lt;launch4jConfig&gt;&lt;obj&gt;</em>
</li>
<li>
<em>&lt;launch4jConfig&gt;&lt;libs&gt;&lt;file&gt;</em> was changed to
<em>&lt;launch4jConfig&gt;&lt;lib&gt;</em>
</li>
<li>
<em>&lt;launch4jConfig&gt;&lt;jre&gt;&lt;args&gt;</em> was changed to multiple
<em>&lt;launch4jConfig&gt;&lt;jre&gt;&lt;opt&gt;</em>
</li>
</ul>
<h4 class="warn">Embedded Ant configuration changes in 3.x</h4>
<ul class="changes">
<li>
<em>&lt;jre args="value"&gt;</em> was changed to
<em>&lt;jre&gt;&lt;opt&gt;value&lt;/opt&gt;&lt;/jre&gt;</em>
</li>
<li>Now it's possible to define headerObjects, libs and classpath.</li>
</ul>
<h4>Changes in version 2.1.5 (21-07-2006)</h4>
<ul class="changes">
<li>Changed the Java download site to http://java.com/download.</li>
<li>Now it's possible to use absolute and relative paths to specify the bundled JRE.</li>
</ul>
<h4>Changes in version 2.1.4 (15-06-2006)</h4>
<ul class="changes">
<li>
Fixed bug #1503996 Only the first wrapper instance had a custom process name
(found by Helge Böhme).
</li>
</ul>
<h4>Changes in version 2.1.3 (31-05-2006)</h4>
<ul class="changes">
<li>
Fixed bug #1497453 Ant task doesn't support relative jar path with '..'
(found by Aston, Pavel Moukhataev).
</li>
<li>Jar argument size limit is now 16KB.</li>
<li>Environment variable size limit raised to 32KB.</li>
<li>Allow to concatenate multiple env. variables in one property (Maria D.)</li>
<li>Added launch4j.tmpdir property.</li>
</ul>
<h4>Changes in version 2.1.2 (03-04-2006)</h4>
<ul class="changes">
<li>Important bugfix: insufficient command line buffer size was increased to 32KB
(found by Sebastian Kopsan).</li>
<li>Added runtime JVM options from an .ini file.</li>
<li>Launch4j's bin directory is now configurable through launch4j.bindir
system property.</li>
</ul>
<h4>Changes in version 2.1.1 (25-01-2006)</h4>
<ul class="changes">
<li>Fixed bug #1402748. Validation error occurred when using an Ant task with
embedded config and dontWrapJar option (found by Chris Nokleberg).</li>
</ul>
<h4>Changes in version 2.1.0 (10-01-2006)</h4>
<ul class="changes">
<li><b>More features and smaller header: 18 KB!!</b></li>
<li>Added launcher mode, you can choose whether or not to wrap the jar.</li>
<li>Spanish translation of the website/docs and program messages
(Patricio Martínez Ros).</li>
<li>JRE's bin directory is appended to the Path environment variable
(Ianiv Schweber).</li>
<li>Added special variables EXEDIR and EXEFILE that hold the executable's
directory and full path.</li>
<li>Support for mapping environment variables to system properties.</li>
<li>Added debug launching mode - various information is displayed before
starting the Java application.</li>
<li>Fixed min/max JRE version checking, previous versions allowed these
to be equal (found by Ryan).</li>
<li>Bug fixed. Quotes in jar/JVM arguments were handled incorrectly (found by Juan Alvarez Ferrando).</li>
<li>A few other enhancements.</li>
</ul>
<h4>Changes in version 2.0.0 (31-10-2005)</h4>
<ul class="changes">
<li>Launch4j for Mac OS X is available thanks to Peter Centgraf.</li>
<li>Added support for custom headers.</li>
<li>Fixed bug #1343908, command line arguments with spaces were handled
incorrectly by the console header (found by Oliver Schaefer / Steve Alberty).</li>
<li>Fixed stdin redirection bug (found by Timo Santasalo).</li>
</ul>
<h4>Changes in version 2.0 RC3 (13-08-2005) - final RC</h4>
<ul class="changes">
<li>Correct handling of pathnames with spaces.</li>
<li>Fixed the '%20' pathname bug.</li>
<li>Fixed basedir bug (Richard Xing).</li>
<li>Splash screen can be closed when the application window becomes visible
with out specifying it's title (Martin Busik).
Update your config file: <em>&lt;waitForTitle&gt;title&lt;/waitForTitle&gt;</em>
is now <em>&lt;waitForWindow&gt;true&lt;/waitForWindow&gt;</em>.
</li>
<li>Fixed build.bat files in demo directories.</li>
</ul>
<h4>Changes in version 2.0 RC2 (21-06-2005)</h4>
<ul class="changes">
<li>chdir allows to change the current directory to arbitrary paths
relative to the executable (FR #1144907). It's incompatible with
previous versions, update your config file:
<em>&lt;chdir&gt;true&lt;/chdir&gt;</em>
is now <em>&lt;chdir&gt;.&lt;/chdir&gt;</em>.
</li>
<li>Bundled JRE path no longer depends on chdir function.</li>
<li>Fixed Ant task bug, build files outside launch4j's directory
wouldn't work. Josh Elsasser submitted a patch that works without
setting launch4j's home dir in the build file. Thanks!
</li>
<li>Removed static edge from splash screen (Serge Baranov).</li>
<li>Program checks that the output file path doesn't contain spaces.</li>
<li>Fixed a NPE bug caused by a missing maxVersion property
(found by Morgan Schweers).
</li>
<li>Fixed relative JRE path bug (found by Nili_).</li>
<li>Cleaned up the Builder class.</li>
<li>Fixed Ant task NPE where the config was entirely defined in the
build file (Josh Elsasser).
</li>
</ul>
<h4>Changes in version 2.0 RC (07-06-2005)</h4>
<ul class="changes">
<li>Added an Ant task for better build integration.</li>
<li>Added 2.x documentation.</li>
<li>Updated the demo configuration files.</li>
<li>Fixed issues with relative paths in the configuration.</li>
<li>Removed the '-1' option in console mode.</li>
<li>Minor fixes.</li>
</ul>
<h4>Changes in version 2.0 beta2 (23-05-2005)</h4>
<ul class="changes">
<li># comments are recognized when importing 1.x cfg files.</li>
<li>Added version information.</li>
<li>Resource file is displayed when a resource error occurs.</li>
<li>Fixed a bug found by Max, options on the first tab were always enabled.</li>
</ul>
<h4>Changes in version 2.0 beta1 (13-05-2005)</h4>
<ul class="changes">
<li>Completely new, cross-platform wrapper - create windows executables on Linux.</li>
<li>New .xml configuration file.</li>
<li>Application icon with multiple resolutions and color depths.</li>
<li>Swing GUI interface.</li>
<li>Header compiled with MinGW port of gcc instead of VC++.</li>
</ul>
<h4>Changes in version 1.4.2 (12-03-2005)</h4>
<ul class="changes">
<li>Fixed bug #1158143, stayAlive without a splash screen caused
an infinite loop (found by Gregory Kotsaftis).
</li>
</ul>
<h4>Changes in version 1.4.1 (04-03-2005)</h4>
<ul class="changes">
<li>Fixed bug #1119040, buffer for reading config properties
was too short (found by Tom Jensen and Neil).
</li>
<li>Added configurable splash timeout (FR #1102951).</li>
<li>Added option to disable the error message on splash timeout (FR #1109159).</li>
<li>Option to keep the gui launcher 'alive' after starting an application (FR #1124653).</li>
<li>Removed version info.</li>
<li>'waitfor' property is now optional.</li>
</ul>
<h4>Changes in version 1.4.0 (26-01-2005)</h4>
<ul class="changes">
<li>Removed .lch4j suffix from process name, now it has the
form of the executable filename. The temporary launchers are stored in
launch4j-tmp directory (suggested by Emmanuel).
</li>
<li>Added support for console apps (FR #1050053).</li>
</ul>
<h4>Changes in version 1.3.1 (05-11-2004)</h4>
<ul class="changes">
<li>Fixed a bug where explorer window was opened instead of
launching the application when setProcName was set to false
(found by Rob Jones).
</li>
<li>Fixed temporary launcher deletion bug.</li>
</ul>
<h4>Changes in version 1.3.0 (01-11-2004)</h4>
<ul class="changes">
<li>Now you can configure launch4j to:
<ul class="changes">
<li>Use a bundled JRE.</li>
<li>Search for java, show an error message if the
right version cannot be found and open the java download page.</li>
<li>And a feature you asked for: use bundled JRE, if
that fails search for java and bring up the java download page on error.</li>
</ul>
</li>
<li>Enhanced code that sets the custom process name. In
case launch4j can't refresh the temporary launcher, bundled JRE on a
read only file system for example, it will use one created previously,
if it's present and has the correct size. If not, launching will still
continue, but with javaw.exe process name.Temporary launchers are
now created in the jre directory instead of jre/bin.
</li>
<li>errTitle property allows to set the title of the error message box.</li>
</ul>
<h4>Changes in version 1.2.1 (25-09-2004)</h4>
<ul class="changes">
<li>Bugfix that allows launching from command line using short
name (#1026514 / found by Zach Del)
</li>
</ul>
<h4>Changes in version 1.2.0 (10-09-2004)</h4>
<ul class="changes">
<li><strong>Custom process name</strong> (<i>myapp.lch4j.exe</i>)</li>
<li><strong>9 KB stub!</strong></li>
<li>Jar arguments</li>
<li>Bugfix that allows launching from command line.</li>
<li>Hide splash on javaw error.</li>
<li>Easier configuration with case insensitive parameters + show unrecognized parameter.</li>
<li>12 KB demo application, 34 KB with splash screen.</li>
<li>Configuration parameter <em>'args'</em> changed to <em>'jvmArgs'</em></li>
</ul>
</div>
<div class="footer">
All trademarks mentioned are properties of their respective owners.<br />
Copyright &copy; 2005-2008 Grzegorz Kowal
<p style="margin-top: 2em">
<a href="http://sourceforge.net"><img style="width: 125px; height: 37px; border: none" src="http://sourceforge.net/sflogo.php?group_id=95944&amp;type=4" alt="sf.net"></a>
<a href="http://www.nosoftwarepatents.com"><img style="width: 90px; height: 40px; border: none; margin-left: 5%" src="http://www.nosoftwarepatents.com/banners/90x40_3.jpg" alt=""></a>
<a href="http://validator.w3.org/check?uri=referer"><img style="width: 88px; height: 31px; border: none; margin-left: 5%" src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!"></a>
</p>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,585 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Launch4j - Cross-platform Java executable wrapper</title>
<meta name="description" content="Cross-platform Java executable wrapper for creating lightweight Windows native EXEs. Provides better user experience.">
<meta name="keywords" content="java executable wrapper, java application wrapper, exe wrapper, jar wrapper, wrap, wraps, wrapping, free software, launch, launcher, linux, mac, windows, open source, ant, solaris, native splash screen, deploy, build tool">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="author" content="Grzegorz Kowal" >
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div id="container">
<div id="top">
<img style="width: 249px; height: 58px;" src="launch4j.gif" alt="launch4j"> <span class="version">3.0.1</span>
</div>
<div id="leftnav">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="docs.html">Docs</a></li>
<li><a href="changelog.html">Changelog</a></li>
<li><a href="http://sourceforge.net/project/screenshots.php?group_id=95944">Screenshots</a></li>
<li><a href="http://sourceforge.net/project/showfiles.php?group_id=95944&amp;package_id=192323">Download</a></li>
<li><a href="http://sourceforge.net/forum/?group_id=95944">Support</a></li>
<li><a href="http://sourceforge.net/projects/launch4j">Project summary</a></li>
<li><a href="http://sourceforge.net/tracker/?atid=613100&amp;group_id=95944">Bug tracker</a></li>
<li><a href="links.html">Links</a></li>
</ul>
<!--
*** Spanish docs are outdated ***
<ul style="margin-top: 20px; font-size: 75%">
<li><a href="index.html">English</a></li>
<li><a href="index_es.html">Español</a></li>
</ul>
-->
</div>
<div id="content">
<a href="#Running_launch4j">Running launch4j</a><br>
<a href="#Configuration_file">Configuration file</a><br>
<a href="#Importing_1.x_configuration">Importing 1.x configuration</a><br>
<a href="#Ant_task">Ant Task</a><br>
<a href="#Additional_jvm_options">Additional JVM options at runtime</a><br>
<a href="#Runtime_options">Runtime options</a><br>
<a href="#Settings">Settings</a><br>
<h2 id="Running_launch4j">Running launch4j</h2>
Run <em>launch4j.exe</em> or <em>launch4j</em> script without command
line arguments to enter the GUI mode.
<pre>launch4j.exe</pre>
To wrap a jar in console mode use <em>launch4jc.exe</em>&nbsp;<em></em>and
specify the configuration file.
<pre>launch4jc.exe config.xml</pre>
On Linux use the <em>launch4j</em> script.
<pre>launch4j ./demo/l4j/config.xml</pre>
<h2 id="Configuration_file">Configuration file</h2>
Launch4j requires an xml configuration file for each output executable.
You can create and edit it conveniently using the graphic user
interface or your favorite editor. Alternatively it's possible to pass
all of the configuration parameters through the Ant task. All files
may be absolute paths or relative to the configuration file path.
<pre>
&lt;!-- <strong>Bold</strong> elements are required --&gt;
<strong>&lt;launch4jConfig&gt;</strong>
<strong>&lt;headerType&gt;</strong><span class="codeword">gui|console</span><strong>&lt;/headerType&gt;</strong>
<strong>&lt;outfile&gt;</strong><span class="codeword">file.exe</span><strong><span class="codeword"></span>&lt;/outfile&gt;</strong>
&lt;jar&gt;<span class="codeword">file</span><span class="codeword"></span>&lt;/jar&gt;
&lt;dontWrapJar&gt;<span class="codeword">true|<u>false</u></span>&lt;/dontWrapJar&gt;
&lt;errTitle&gt;<span class="codeword">text</span>&lt;/errTitle&gt;
&lt;downloadUrl&gt;<span class="codeword"><u>http://java.com/download</u></span>&lt;/downloadUrl&gt;
&lt;supportUrl&gt;<span class="codeword">url</span>&lt;/supportUrl&gt;
&lt;cmdLine&gt;<span class="codeword">text</span>&lt;/cmdLine&gt;
&lt;chdir&gt;<span class="codeword">path</span>&lt;/chdir&gt;
&lt;priority&gt;<span class="codeword"><u>normal</u>|idle|high</span>&lt;/priority&gt;
&lt;customProcName&gt;<span class="codeword">true|<u>false</u></span>&lt;/customProcName&gt;
&lt;stayAlive&gt;<span class="codeword">true|false</span>&lt;/stayAlive&gt;
&lt;icon&gt;<span class="codeword">file</span>&lt;/icon&gt;
&lt;obj&gt;<span class="codeword">header object file</span>&lt;/obj&gt;
...
&lt;lib&gt;<span class="codeword">w32api lib</span>&lt;/lib&gt;
...
&lt;var&gt;<span class="codeword">var=text</span>&lt;/var&gt;
...
&lt;classPath&gt;
<strong>&lt;mainClass&gt;</strong><span class="codeword">main class</span><strong>&lt;/mainClass&gt;</strong>
<strong>&lt;cp&gt;</strong><span class="codeword">classpath</span><strong>&lt;/cp&gt;</strong>
...
&lt;/classPath&gt;
&lt;singleInstance&gt;
<strong>&lt;mutexName&gt;</strong><span class="codeword">text</span><strong>&lt;/mutexName&gt;</strong>
&lt;windowTitle&gt;<span class="codeword">text</span>&lt;/windowTitle&gt;
&lt;/singleInstance&gt;
<strong>&lt;jre&gt;</strong>
&lt;!-- Specify one of the following or both --&gt;
<strong>&lt;path&gt;</strong><span class="codeword">bundled JRE path</span><strong>&lt;/path&gt;</strong>
<strong>&lt;minVersion&gt;</strong><span class="codeword">x.x.x[_xx]</span><strong>&lt;/minVersion&gt;</strong>
&lt;maxVersion&gt;<span class="codeword">x.x.x[_xx]</span>&lt;/maxVersion&gt;
&lt;jdkPreference&gt;<span class="codeword">jreOnly|<u>preferJre</u>|preferJdk|jdkOnly</span>&lt;/jdkPreference&gt;
&lt;!-- Heap sizes in MB and % of free memory --&gt;
&lt;initialHeapSize&gt;<span class="codeword">MB</span>&lt;/initialHeapSize&gt;
&lt;initialHeapPercent&gt;<span class="codeword">%</span>&lt;/initialHeapPercent&gt;
&lt;maxHeapSize&gt;<span class="codeword">MB</span>&lt;/maxHeapSize&gt;
&lt;maxHeapPercent&gt;<span class="codeword">%</span>&lt;/maxHeapPercent&gt;
&lt;opt&gt;<span class="codeword">text</span>&lt;/opt&gt;
...
<strong>&lt;/jre&gt;</strong>
&lt;splash&gt;
<strong>&lt;file&gt;</strong><span class="codeword">file</span><strong>&lt;/file&gt;</strong>
&lt;waitForWindow&gt;<span class="codeword"><u>true</u>|false</span>&lt;/waitForWindow&gt;
&lt;timeout&gt;<span class="codeword">seconds [60]</span>&lt;/timeout&gt;
&lt;timeoutErr&gt;<span class="codeword"><u>true</u>|false</span>&lt;/timeoutErr&gt;
&lt;/splash&gt;
&lt;versionInfo&gt;
<strong>&lt;fileVersion&gt;</strong><span class="codeword">x.x.x.x</span><strong>&lt;/fileVersion&gt;</strong>
<strong>&lt;txtFileVersion&gt;</strong><span class="codeword">text</span><strong>&lt;/txtFileVersion&gt;</strong>
<strong>&lt;fileDescription&gt;</strong><span class="codeword">text</span><strong>&lt;/fileDescription&gt;</strong>
<strong>&lt;copyright&gt;</strong><span class="codeword">text</span><strong>&lt;/copyright&gt;</strong>
<strong>&lt;productVersion&gt;</strong><span class="codeword">x.x.x.x</span><strong>&lt;/productVersion&gt;</strong>
<strong>&lt;txtProductVersion&gt;</strong><span class="codeword">text</span><strong>&lt;/txtProductVersion&gt;</strong>
<strong>&lt;productName&gt;</strong><span class="codeword">text</span><strong>&lt;/productName&gt;</strong>
&lt;companyName&gt;<span class="codeword">text</span>&lt;/companyName&gt;
<strong>&lt;internalName&gt;</strong><span class="codeword">filename</span><strong>&lt;/internalName&gt;</strong>
<strong>&lt;originalFilename&gt;</strong><span class="codeword">filename.exe</span><strong>&lt;/originalFilename&gt;</strong>
&lt;/versionInfo&gt;
&lt;messages&gt;
<strong>&lt;startupErr&gt;</strong>text<strong>&lt;/startupErr&gt;</strong>
<strong>&lt;bundledJreErr&gt;</strong>text<strong>&lt;/bundledJreErr&gt;</strong>
<strong>&lt;jreVersionErr&gt;</strong>text<strong>&lt;/jreVersionErr&gt;</strong>
<strong>&lt;launcherErr&gt;</strong>text<strong>&lt;/launcherErr&gt;</strong>
&lt;/messages&gt;
<strong>&lt;/launch4jConfig&gt;</strong>
</pre>
<dl>
<dt>&lt;headerType&gt;</dt>
<dd>
Type of the header used to wrap the application.
<table>
<thead>
<tr>
<th>Header type</th>
<th>Launcher</th>
<th>Splash screen</th>
<th style="white-space: nowrap">Wait for the application to close</th>
</tr>
</thead>
<tbody>
<tr>
<td>gui</td>
<td>javaw</td>
<td>yes</td>
<td class="description">wrapper waits only if <em>stayAlive</em> is set to true,
otherwise it terminates immediately or after closing
the splash screen.
</td>
</tr>
<tr>
<td>console</td>
<td>java</td>
<td>no</td>
<td class="description">always waits and returns application's exit code.</td>
</tr>
</tbody>
</table>
</dd>
</dl>
<dl>
<dt>&lt;outfile&gt;</dt>
<dd>Output executable file.</dd>
</dl>
<dl>
<dt>&lt;jar&gt;</dt>
<dd>
Optional, by default specifies the jar to wrap. To launch a jar without
wrapping it enter the runtime path of the jar relative to
the executable and set <em>&lt;dontWrapJar&gt;</em> to true.
For example, if the executable launcher and the application jar named
<i>calc.exe</i> and <i>calc.jar</i> are in the same directory
then you would use <i>&lt;jar&gt;calc.jar&lt;/jar&gt;</i>
and <em>&lt;dontWrapJar&gt;true&lt;/dontWrapJar&gt;</em>.
</dd>
</dl>
<dl>
<dt>&lt;dontWrapJar&gt;</dt>
<dd>
Optional, defaults to false. Launch4j by default wraps jars in native
executables, you can prevent this by setting <em>&lt;dontWrapJar&gt;</em> to true.
The exe acts then as a launcher and starts the application specified in
<em>&lt;jar&gt;</em> or <em>&lt;classPath&gt;&lt;mainClass&gt;</em>
</dd>
</dl>
<dl>
<dt>&lt;errTitle&gt;</dt>
<dd>
Optional, sets the title of the error message box that's displayed if Java cannot
be found for instance. This usually should contain the name of your
application. The console header prefixes error messages with this
property (myapp: error...)
</dd>
</dl>
<dl>
<dt>&lt;cmdLine&gt;</dt>
<dd>Optional, constant command line arguments.</dd>
</dl>
<dl>
<dt>&lt;chdir&gt;</dt>
<dd>Optional. Change current directory to an arbitrary path relative to the executable.
If you omit this property or leave it blank it will have no effect.
Setting it to <em>.</em> will change the current dir to the same directory
as the executable. <em>..</em> will change it to the parent directory, and so on.
</dd>
<dd>
<pre>&lt;chdir&gt;.&lt;/chdir&gt;</pre>
</dd>
<dd>
<pre>&lt;chdir&gt;../somedir&lt;/chdir&gt;</pre>
</dd>
</dl>
<dl>
<dt>&lt;customProcName&gt;</dt>
<dd>Optional, defaults to false.
Set the process name as the executable filename and use Xp style manifests
(if any).
Creates a temporary file in launch4j-tmp directory inside the used JRE.
These files are deleted by any launch4j wrapped application, which sets
the process name and uses the same JRE. The removal takes place
when the application <strong>starts</strong>,
so at least one copy of this file will always be present.
</dd>
</dl>
<dl>
<dt>&lt;stayAlive&gt;</dt>
<dd>Optional, defaults to false in GUI header, always true in console header.
When enabled the launcher waits for the Java application
to finish and returns it's exit code.
</dd>
</dl>
<dl>
<dt>&lt;icon&gt;</dt>
<dd>Application icon in ICO format. May contain multiple color depths/resolutions.</dd>
</dl>
<dl>
<dt>&lt;obj&gt;</dt>
<dd>Optional, custom headers only. Ordered list of header object files.</dd>
</dl>
<dl>
<dt>&lt;lib&gt;</dt>
<dd>Optional, custom headers only. Ordered list of libraries used by header.</dd>
</dl>
<dl>
<dt>&lt;singleInstance&gt;</dt>
<dd>Optional, allow to run only a single instance of the application.</dd>
</dl>
<blockquote>
<dl>
<dt>&lt;mutexName&gt;</dt>
<dd>Unique mutex name that will identify the application.</dd>
<dt>&lt;windowTitle&gt;</dt>
<dd>Optional, recognized by GUI header only. Title or title part of a window
to bring up instead of running a new instance.
</dd>
</dl>
</blockquote>
<dl>
<dt>&lt;jre&gt;</dt>
<dd>Required element that groups JRE settings.</dd>
</dl>
<blockquote>
<dl>
<dt>&lt;path&gt;, &lt;minVersion&gt;, &lt;maxVersion&gt;</dt>
<dd>The <em>&lt;path&gt;</em> property is used
to specify the absolute or relative path (to the executable) of a bundled JRE, it
does not rely on the current directory or <em>&lt;chdir&gt;</em>.
Note that this path is not checked until the actual application execution.
If you'd like the wrapper to search for a JRE (public or SDK private)
use the <em>&lt;minVersion&gt;</em> property, you may also specify
the <em>&lt;maxVersion&gt;</em> to prevent it from using higher Java versions.
Launch4j will always use the highest version available (in the min/max range of course).
If a Sun's JRE is not available or does not satisfy the search criteria,
the search will be repeated on IBM runtimes.
You can also combine these properties to change the startup process...
</dd>
</dl>
<blockquote>
<dl>
<dt>&lt;path&gt;</dt>
<dd>Run if bundled JRE and javaw.exe are present, otherwise stop with error.</dd>
<dt>&lt;path&gt; + &lt;minVersion&gt;&nbsp; [+ &lt;maxVersion&gt;]</dt>
<dd>Use bundled JRE first, if it cannot be located search for Java,
if that fails display error message and open the Java download page.
</dd>
<dt>&lt;minVersion&gt;&nbsp; [+ &lt;maxVersion&gt;]</dt>
<dd>Search for Java, if an appropriate version cannot be found display
error message and open the Java download page.
</dd>
</dl>
</blockquote>
</blockquote>
<blockquote>
<dl>
<dt>&lt;jdkPreference&gt;</dt>
<dd>Optional, defaults to preferJre; Allows you to specify a preference
for a public JRE or a private JDK runtime. Valid values are:
</dd>
</dl>
<blockquote>
<dl>
<dt>jreOnly</dt>
<dd>Always use a public JRE (equivalent to the
old option dontUsePrivateJres=true)</dd>
<dt>preferJre</dt>
<dd>Prefer a public JRE, but use a JDK private
runtime if it is newer than the public
JRE (equivalent to the old option
dontUsePrivateJres=false)</dd>
<dt>preferJdk</dt>
<dd>Prefer a JDK private runtime, but use a
public JRE if it is newer than the
JDK</dd>
<dt>jdkOnly</dt>
<dd>Always use a private JDK runtime (fails
if there is no JDK installed)</dd>
</dl>
</blockquote>
<dl>
<dt>HeapSize, HeapPercent</dt>
<dd>If size and percent are specified, then the setting which yields
more memory will be chosen at runtime. In other words, setting both values
means: percent of free memory no less than size in MB.
</dd>
</dl>
<blockquote>
<dl>
<dt>&lt;initialHeapSize&gt;</dt>
<dd>Optional, initial heap size in MB.</dd>
</dl>
<dl>
<dt>&lt;initialHeapPercent&gt;</dt>
<dd>Optional, initial heap size in % of free memory.</dd>
</dl>
<dl>
<dt>&lt;maxHeapSize&gt;</dt>
<dd>Optional, max heap size in MB.</dd>
</dl>
<dl>
<dt>&lt;maxHeapPercent&gt;</dt>
<dd>Optional, max heap size in % of free memory.</dd>
</dl>
</blockquote>
<dl>
<dt>&lt;opt&gt;</dt>
<dd>Optional, accepts everything you would normally pass to
java/javaw launcher: assertion options, system properties and X options.
Here you can map environment and special variables <em>EXEDIR</em>
(exe's runtime directory), <em>EXEFILE</em> (exe's runtime full file path)
to system properties. All variable references must be surrounded with
percentage signs and quoted.
<pre>
&lt;opt&gt;-Dlaunch4j.exedir="%EXEDIR%"&lt;/opt&gt;
&lt;opt&gt;-Dlaunch4j.exefile="%EXEFILE%"&lt;/opt&gt;
&lt;opt&gt;-Denv.path="%Path%"&lt;/opt&gt;
&lt;opt&gt;-Dsettings="%HomeDrive%%HomePath%\\settings.ini"&lt;/opt&gt;
</pre>
</dd>
</dl>
</blockquote>
<dl>
<dt>&lt;splash&gt;</dt>
<dd>Optional, groups the splash screen settings. Allowed only in GUI header.</dd>
</dl>
<blockquote>
<dl>
<dt>&lt;file&gt;</dt>
<dd>Splash screen image in BMP format.</dd>
</dl>
<dl>
<dt>&lt;waitForWindow&gt;</dt>
<dd>Optional, defaults to true. Close the splash screen when an application
window or Java error message box appears. If set to false,
the splash screen will be closed on timeout.
</dd>
</dl>
<dl>
<dt>&lt;timeout&gt;</dt>
<dd>Optional, defaults to 60. Number of seconds after which the splash screen
must be closed. Splash timeout may cause an error depending on
<em>&lt;timeoutErr&gt;</em>.
</dd>
</dl>
<dl>
<dt>&lt;timeoutErr&gt;</dt>
<dd>Optional, defaults to true. True signals an error on splash timeout,
false closes the splash screen quietly.
</dd>
</dl>
</blockquote>
<dl>
<dt>&lt;versionInfo&gt;</dt>
<dd>Optional, version information to be displayed by the Windows Explorer.</dd>
</dl>
<blockquote>
<dl>
<dt>&lt;fileVersion&gt;</dt>
<dd>Version number 'x.x.x.x'</dd>
</dl>
<dl>
<dt>&lt;txtFileVersion&gt;</dt>
<dd>Free form file version, for example '1.20.RC1'.</dd>
</dl>
<dl>
<dt>&lt;fileDescription&gt;</dt>
<dd>File description presented to the user.</dd>
</dl>
<dl>
<dt>&lt;copyright&gt;</dt>
<dd>Legal copyright.</dd>
</dl>
<dl>
<dt>&lt;productVersion&gt;</dt>
<dd>Version number 'x.x.x.x'</dd>
</dl>
<dl>
<dt>&lt;txtProductVersion&gt;</dt>
<dd>Free form file version, for example '1.20.RC1'.</dd>
</dl>
<dl>
<dt>&lt;productName&gt;</dt>
<dd>Text.</dd>
</dl>
<dl>
<dt>&lt;companyName&gt;</dt>
<dd>Optional text.</dd>
</dl>
<dl>
<dt>&lt;internalName&gt;</dt>
<dd>Internal name without extension, original filename or module name for example.</dd>
</dl>
<dl>
<dt>&lt;originalFilename&gt;</dt>
<dd>Original name of the file without the path. Allows to determine
whether a file has been renamed by a user.
</dd>
</dl>
</blockquote>
<h2 id="Importing_1.x_configuration">Importing 1.x configuration</h2>
It's possible to import a 1.x configuration file using the GUI
interface. Open the file, correct the paths and save it as a new xml
configuration.
<h2 id="Ant_task">Ant task</h2>
You may set a launch4j directory property or change the task definition.
<pre>&lt;property name="launch4j.dir" location="/opt/launch4j" /&gt;</pre>
Define the task in your Ant build script.
<pre>
&lt;taskdef name="launch4j"
classname="net.sf.launch4j.ant.Launch4jTask"
classpath="${launch4j.dir}/launch4j.jar
:${launch4j.dir}/lib/xstream.jar" /&gt;
</pre>
Execute the task!
<pre>&lt;launch4j configFile="./l4j/demo.xml" /&gt;</pre>
You can set or override the following configuration properties...
<p class="attrib">
jar="absolute path or relative to <em>basedir</em>"<br>
jarPath="relative path"<br>
outfile<br>
fileVersion<br>
txtFileVersion<br>
productVersion<br>
txtProductVersion<br>
bindir="<a href="#Settings">alternate bin directory...</a>"<br>
tmpdir="<a href="#Settings">alternate working directory...</a>"
</p>
<pre>
&lt;launch4j configFile="./l4j/demo.xml" outfile="mydemo.exe"
fileVersion="1.0.0.0" txtFileVersion="1.0 RC2" /&gt;
</pre>
You can also define the entire configuration in the task, but it will
not be possible to edit such a file in the GUI mode. All paths except
for <em>&lt;chdir&gt;</em>, <em>&lt;jre&gt;&lt;path&gt;</em> and <em>jarPath</em>
are calculated using the <em>basedir</em> project attribute.
<pre>
&lt;launch4j&gt;
&lt;config headerType="gui" outfile="demo.exe"
dontWrapJar="true" jarPath="demo.jar" &gt;
&lt;var&gt;SETTINGS="%HomeDrive%%HomePath%\\settings.ini"&lt;/var&gt;
&lt;classPath mainClass="org.demo.DemoApp"&gt;
&lt;cp&gt;./lib/looks.jar&lt;/cp&gt;
&lt;cp&gt;%USER_LIBS%/*.jar&lt;/cp&gt;
&lt;/classPath&gt;
&lt;jre minVersion="1.4.0"&gt;
&lt;opt&gt;-Dlaunch4j.exedir="%EXEDIR%"&lt;/opt&gt;
&lt;opt&gt;-Dlaunch4j.exefile="%EXEFILE%"&lt;/opt&gt;
&lt;/jre&gt;
&lt;/config&gt;
&lt;/launch4j&gt;
</pre>
<h2 id="Additional_jvm_options">Additional JVM options at runtime</h2>
When you create a wrapper or launcher all configuration details are compiled into the
executable and cannot be changed without recreating it or hacking with a resource editor.
Launch4j 2.1.2 introduces a new feature that allows to pass additional JVM options
at runtime from an .l4j.ini file. Now you can specify the options in the configuration file,
ini file or in both, but you cannot override them. The ini file's name must correspond
to the executable's <em>(myapp.exe : myapp.l4j.ini)</em>.
The arguments should be separated with spaces or new lines, environment variable
expansion is supported, for example:
<pre>
# Launch4j runtime config
-Dswing.aatext=true
-Dsomevar="%SOMEVAR%"
-Xms16m
</pre>
<h2 id="Runtime_options">Runtime options</h2>
<dl>
<dt class="option">--l4j-debug</dt>
<dd>
To make sure the output executable is configured correctly you can use the
debug launching mode to log various information to the launch4j.log file.
</dd>
<dt class="option">--l4j-default-proc</dt>
<dd>
Use default process name.
</dd>
<dt class="option">--l4j-dont-wait</dt>
<dd>
Disable the "stay alive" function.
</dd>
<dt class="option">--l4j-no-splash</dt>
<dd>
Disable the splash screen.
</dd>
<dt class="option">--l4j-no-splash-err</dt>
<dd>
Disable splash screen error on timeout, might be useful on very slow computers.
</dd>
</dl>
<h2 id="Settings">Settings</h2>
<dl>
<dt>Alternate bin directory: launch4j.bindir</dt>
<dd>
It's possible to override the default bin directory location which contains windres and ld
tools using the <em>launch4j.bindir</em> system property. The property can have two forms:
a path relative to Launch4j's directory (<em>altbin</em> for example) or an absolute path.
<dd>
<dt>Working directory: launch4j.tmpdir</dt>
<dd>Change the working directory if the default path contains spaces which windres cannot handle.</dd>
</dl>
</div>
<div class="footer">
All trademarks mentioned are properties of their respective owners.<br />
Copyright &copy; 2005-2008 Grzegorz Kowal
<p style="margin-top: 2em">
<a href="http://sourceforge.net"><img style="width: 125px; height: 37px; border: none" src="http://sourceforge.net/sflogo.php?group_id=95944&amp;type=4" alt="sf.net"></a>
<a href="http://www.nosoftwarepatents.com"><img style="width: 90px; height: 40px; border: none; margin-left: 5%" src="http://www.nosoftwarepatents.com/banners/90x40_3.jpg" alt=""></a>
<a href="http://validator.w3.org/check?uri=referer"><img style="width: 88px; height: 31px; border: none; margin-left: 5%" src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!"></a>
</p>
</div>
</div>
</body>
</html>

View File

@@ -1,345 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<title>Launch4j :: Cross-platform java application wrapper for
creating Windows native executables</title>
<meta content="Grzegorz Kowal" name="author">
<meta
content="Cross-platform java application wrapper for creating Windows native executables.
Features native splash screen, application icon, small stub."
name="description">
<meta name="Keywords"
content="Java, java, exe, native, windows, Windows, jar, wrap, wrapper, launch,
run, execute, executable, splash, icon, ico, ant, build, script, deploy, free, freeware, open source,
gpl, GPL, lgpl, LGPL, sourceforge, c++, C++, W2K, WXP, W98, linux, Linux">
<link rel="stylesheet" type="text/css" href="layout.css">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div id="container">
<div id="top"><img style="width: 249px; height: 58px;" alt=""
src="launch4j.gif"><span style="color: rgb(48, 127, 225);"> <small><span
style="font-weight: bold; font-family: Helvetica,Arial,sans-serif;">1.4.2,&nbsp;
2.0.RC3</span></small></span>
</div>
<div id="leftnav">
<ul id="navlist">
<li><a href="index.html"><span style="font-weight: bold;"></span>Home</a></li>
<li><a href="docs1.html"><span style="font-weight: bold;"></span>1.x
docs</a></li>
<li><a href="docs2.html"><span style="font-weight: bold;"></span>2.x
docs</a></li>
<li><a href="changelog.html"><span style="font-weight: bold;"></span>Changelog</a></li>
<li><a
href="http://sourceforge.net/project/screenshots.php?group_id=95944"><span
style="font-weight: bold;"></span>Screenshots</a></li>
<li><a
href="http://sourceforge.net/project/showfiles.php?group_id=95944"><span
style="font-weight: bold;"></span>Download</a></li>
<li><a href="http://sourceforge.net/forum/?group_id=95944"><span
style="font-weight: bold;"></span>Support</a></li>
<li><a href="http://sourceforge.net/projects/launch4j"><span
style="font-weight: bold;"></span>Project
summary</a></li>
<li><a
href="http://sourceforge.net/tracker/?atid=613100&amp;group_id=95944"><span
style="font-weight: bold;"></span>Bug
tracker</a></li>
<li><a href="links.html"><span style="font-weight: bold;"></span>Links</a></li>
</ul>
</div>
<div id="content">
<h2>How to wrap your
application<br>
</h2>
<span style="font-weight: bold;"></span>Launch4j wraps only
executable jars, which<em> </em>aren't
very
difficult
to create. Package your application in a jar file and include a
manifest with
the <em>Main-Class</em>
attribute
defined. In order to use external jars, you must also define the <em>Class-Path</em>
attribute. Create a
configuration file and run launch4j (launch4j
my_application.cfg). It's a good idea to run it inside a console
window to see the output. If the configuration file is invalid,
launch4j will provide useful information that will help you fix the
problem. If everything goes fine, the output exe will be created and
ready to run. All information provided in the config file is stored in
the executable, so you don't need it to run the application.<br>
<br>
<h2><span style="font-weight: bold;">Faster way...<span
style="font-weight: bold;"><span style="font-weight: bold;"></span></span></span></h2>
<span style="font-weight: bold;"><span style="font-weight: bold;"><span
style="font-weight: bold;"> </span></span></span>Create
the
configuration file and let Ant do
the
rest (SimpleApp/build.xml).<br>
<br>
<h2><span style="font-weight: bold;">Configuration file (1.x) </span></h2>
<strong class="codeword">Bold</strong>
elements are
required.<br>
<pre><span style="font-weight: bold;"></span><span class="codeword">header</span> headfile.bin<br><strong><span
class="codeword">jar</span></strong> application.jar<br><strong><span
class="codeword">outfile</span></strong> application.exe<br
style="font-family: monospace;"><strong><span class="codeword">jrepath</span></strong> ../jre<br> and/or<br><strong><span
class="codeword">javamin</span></strong> version<br><span
class="codeword">javamax</span> version&nbsp;&nbsp;&nbsp; // optional, use only in combination with <strong><span
class="codeword">javamin</span></strong>.<br><span class="codeword">jvmArgs</span> args<br><span
class="codeword">jarArgs</span> args<br><span class="codeword">chdir</span> true|<span
style="text-decoration: underline;">false</span><br><span
class="codeword">setProcName</span> true|<span
style="text-decoration: underline;">false</span><br><span
class="codeword">errTitle</span> application_name<br
style="font-family: monospace;"><span class="codeword">icon</span> icon.ico<br
style="font-family: monospace;"><span class="codeword">splash</span> splash.bmp<br
style="font-family: monospace;"><span class="codeword">waitfor</span> beginning_of_application_title<br
style="font-family: monospace;"><span class="codeword">splashTimeout</span> seconds<br
style="font-family: monospace;"><span class="codeword">splashTimeoutErr</span> <span
style="text-decoration: underline;">true</span>|false<br
style="font-family: monospace;"><span class="codeword">stayAlive</span> true|false</pre>
<br>
<h2>Configuration details<span style="font-weight: bold;"></span></h2>
<span style="font-weight: bold;"> </span>
<dl>
<dt>header</dt>
<dd>Optional, defaults to <em>guihead.bin</em>.
Standard headers are: <em>guihead.bin</em>
and <em>consolehead.bin</em>,
you can
also specify your own.</dd>
</dl>
<table style="text-align: left;" border="1" cellpadding="4"
cellspacing="0">
<tbody>
<tr>
<td style="text-align: center;"><span style="font-weight: bold;">Header</span><br>
</td>
<td
style="white-space: nowrap; text-align: center; font-weight: bold;">App&nbsp;
type<br>
</td>
<td style="text-align: center;"><span style="font-weight: bold;">Launcher</span><br>
</td>
<td
style="white-space: nowrap; text-align: center; font-weight: bold;">Splash
screen</td>
<td
style="text-align: center; font-weight: bold; white-space: nowrap;">Wait
for the application to
close </td>
</tr>
<tr>
<td style="text-align: center;">guihead.bin<br>
</td>
<td style="text-align: center;">GUI<br>
</td>
<td style="text-align: center;">javaw<br>
</td>
<td style="text-align: center;">yes<br>
</td>
<td>wrapper
waits only if <span class="codeword">stayAlive</span>
is set to true, otherwise it terminates immediately or after closing
the splash screen.<br>
</td>
</tr>
<tr>
<td style="text-align: center;">consolehead.bin<br>
</td>
<td style="text-align: center;">console<br>
</td>
<td style="text-align: center;">java<br>
</td>
<td style="text-align: center;">no<br>
</td>
<td>always waits and
returns application's exit code.<br>
</td>
</tr>
</tbody>
</table>
<br>
<dl>
<dt>jrepath,
javamin/javamax</dt>
<dd>The <span class="codeword">jrepath</span>
property is used
to specify the path (usually relative) of a JRE, note that this path is
not checked until the actual application execution. If you'd like the
wrapper to search for a JRE (public or SDK
private) use the <span class="codeword">javamin</span>
property, you may also specify the <span class="codeword">javamax</span>
to prevent it from using higher Java versions. Launch4j will always use
the highest version available (in the min/max range of course). You can
also combine these properties to change the startup process...</dd>
</dl>
<div style="margin-left: 40px;">
<dl>
<dt class="codeword">jrepath</dt>
<dd>Run if bundled JRE and
javaw.exe
are present, otherwise stop with error.</dd>
<dt class="codeword">jrepath
+ javamin [+ javamax]</dt>
<dd>Use bundled JRE first,
if it
cannot be located search for Java, if that fails display error message
and open the Java download page.</dd>
<dt class="codeword">javamin
[+ javamax]</dt>
<dd>Search for Java, if an
appropriate version cannot be found display error message and open the
Java download page.</dd>
</dl>
</div>
<dl>
<dt>jvmArgs</dt>
<dd>Optional, accepts
everything you would normally pass to
java/javaw
launcher: assertion options, system properties and X options.</dd>
</dl>
<dl>
<dt>jarArgs</dt>
<dd>Optional, constant
command line arguments.</dd>
</dl>
<dl>
<dt>chdir</dt>
<dd>Optional, defaults to
false.
Change current directory to exe location. Set this property to true, if
you have resources outside the jar or want to use a bundled JRE which
location is relative to the executable.</dd>
</dl>
<dl>
<dt><span style="font-weight: bold;"></span>setProcName</dt>
<dd>Optional, defaults to
false.
Set the process name as the executable filename. Creates a temporary
file in launch4j-tmp directory inside the used JRE. These files are
deleted by
any launch4j wrapped application, which sets the process name and uses
the same JRE. The removal takes place when the application <strong>starts</strong>,
so at least one copy of this file will always be present.</dd>
</dl>
<dl>
<dt>errTitle</dt>
<dd>Optional,
sets the title of the error message box that's displayed if Java cannot
be found for instance. This usually should contain the name of your
application. The console header prefixes error messages with this
property (myapp: error...)</dd>
</dl>
<span style="font-weight: bold;"> </span>
<dl>
<dt>icon</dt>
<dd>Accepted file format:
ICO</dd>
<dd>The first icon is used
and rescaled when needed. </dd>
</dl>
<dl>
<dt>splash</dt>
<dd>Accepted file format:
BMP<br>
Ignored by <em>consolehead.bin</em></dd>
</dl>
<dl>
<dt>waitfor</dt>
<dd>Optional. Specifies
the beginning of the application title,
used to
determine when the splash screen is to be closed. Don't include version
numbers or other information (<strong>My
Application</strong><span style="color: rgb(0, 0, 0);"> v1.20, </span><strong>My
App</strong>
- Program setup...). If omitted, the splash screen
will
close on timeout.<br>
Ignored by <em>consolehead.bin</em></dd>
</dl>
<span style="font-style: italic;"></span>
<dl>
<dt>splashTimeout</dt>
<dd>Optional, defaults to
60.
Number of seconds after which the splash screen must close. Splash
timeout may cause an error depending on <span class="codeword">splashTimeoutErr</span>
property.<span style="font-weight: bold;"> </span>Ignored by <em>consolehead.bin</em><span
style="font-style: italic;"></span></dd>
</dl>
<span style="font-weight: bold;"> </span><span
style="font-style: italic;"></span>
<dl>
<dt>splashTimeoutErr</dt>
<dd>Optional, defaults to
true.
True signals
an error on splash timeout, false
closes the splash screen quietly.<br>
<span style="font-weight: bold;"></span>Ignored
by <em>consolehead.bin</em></dd>
</dl>
<span style="font-style: italic;"></span>
<dl>
<dt>stayAlive</dt>
<dd>Optional, defaults to
false
in <em>guihead.bin</em>
/ always true<span style="font-weight: bold;"> </span>in <em>consolehead.bin</em>.
When enabled the
launcher waits for the Java application to finish and returns it's exit
code.</dd>
</dl>
<h2>Example configurations</h2>
<pre><span
style="font-weight: bold; font-family: monospace; color: rgb(51, 51, 255);"><span
style="font-weight: bold;"><span style="font-weight: bold;"><span
style="font-weight: bold;"><span style="font-weight: bold;"></span></span></span></span><span
style="font-weight: bold;"><span style="font-weight: bold;"><span
style="font-weight: bold;"><span style="font-weight: bold;"></span></span></span></span><span
style="font-weight: bold;"><span style="font-weight: bold;"><span
style="font-weight: bold;"><span style="font-weight: bold;"></span></span></span></span></span><span
class="codeword">jar</span> paint2\paint2.jar<br><span class="codeword">outfile</span> paint2\paint2.exe<br><span
class="codeword">javamin</span> 1.4.0<br><span class="codeword">javamax</span> 1.4.2<br><span
class="codeword">icon</span> paint2\paint2.ico<br><span
class="codeword">errTitle</span> Paint2 Error<br><span class="codeword">splash</span> paint2\paint2.bmp<br><span
class="codeword">waitfor</span> Paint2<br><span class="codeword">splashTimeout</span> 45<br><span
class="codeword">chdir</span> true<br><span class="codeword">setProcName</span> true</pre>
<span style="font-family: monospace;"><span
style="color: rgb(51, 51, 255);"> </span></span>
<pre><span class="codeword">header</span> consolehead.bin<br><span
class="codeword">jar</span> dist\ConsoleApp.jar<br><span
class="codeword">outfile</span> dist\ConsoleApp.exe<br><span
class="codeword">jrepath</span> ..\jre<br><span class="codeword">javamin</span> 1.4.2<br><span
class="codeword">icon</span> l4j\ConsoleApp.ico<br><span
class="codeword">chdir</span> true<br><span class="codeword">setProcName</span> true<br><span
class="codeword">errTitle</span> ConsoleApp<br><span class="codeword">jvmArgs</span> -Xloggc:gclog.txt</pre>
</div>
<div id="footer">
Copyright
&copy; 2005 Grzegorz Kowal
<br>
<br>
<p><a href="http://sourceforge.net"><img
src="http://sourceforge.net/sflogo.php?group_id=95944&amp;type=4"
alt="SourceForge.net Logo" border="0" height="37" width="125"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="http://www.nosoftwarepatents.com"><img alt=""
src="http://www.nosoftwarepatents.com/banners/90x40_3.jpg"
style="border: 0px solid ; width: 90px; height: 40px;"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="http://validator.w3.org/check?uri=referer"><img
src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!"
border="0" height="31" width="88"></a>
</p>
</div>
</div>
</body>
</html>

View File

@@ -1,394 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Launch4j :: Cross-platform java application wrapper for creating Windows native executables</title><meta content="Grzegorz Kowal" name="author">
<meta content="Cross-platform java application wrapper for creating Windows native executables.
Features native splash screen, application icon, small stub." name="description">
<meta name="Keywords" content="Java, java, exe, native, windows, Windows, jar, wrap, wrapper, launch,
run, execute, executable, splash, icon, ico, ant, build, script, deploy, free, freeware, open source,
gpl, GPL, lgpl, LGPL, sourceforge, c++, C++, W2K, WXP, W98, linux, Linux">
<link rel="stylesheet" type="text/css" href="layout.css">
<link rel="stylesheet" type="text/css" href="style.css"></head>
<body>
<div id="container">
<div id="top"><img style="width: 249px; height: 58px;" alt="" src="launch4j.gif"><span style="color: rgb(48, 127, 225);"> <small><span style="font-weight: bold; font-family: Helvetica,Arial,sans-serif;">1.4.2,&nbsp;
2.0.RC3</span></small></span>
</div>
<div id="leftnav">
<ul id="navlist">
<li><a href="index.html"><span style="font-weight: bold;"></span>Home</a></li>
<li><a href="docs1.html"><span style="font-weight: bold;"></span>1.x
docs</a></li>
<li><a href="docs2.html"><span style="font-weight: bold;"></span>2.x
docs</a></li>
<li><a href="changelog.html"><span style="font-weight: bold;"></span>Changelog</a></li>
<li><a href="http://sourceforge.net/project/screenshots.php?group_id=95944"><span style="font-weight: bold;"></span>Screenshots</a></li>
<li><a href="http://sourceforge.net/project/showfiles.php?group_id=95944"><span style="font-weight: bold;"></span>Download</a></li>
<li><a href="http://sourceforge.net/forum/?group_id=95944"><span style="font-weight: bold;"></span>Support</a></li>
<li><a href="http://sourceforge.net/projects/launch4j"><span style="font-weight: bold;"></span>Project
summary</a></li>
<li><a href="http://sourceforge.net/tracker/?atid=613100&amp;group_id=95944"><span style="font-weight: bold;"></span>Bug
tracker</a></li>
<li><a href="links.html"><span style="font-weight: bold;"></span>Links</a></li>
</ul>
</div>
<div id="content">
<a href="#Running_launch4j">Running
launch4j</a><br>
<a href="#Configuration_file">Configuration
file</a><br>
<a href="#Importing_1.x_configuration">Importing
1.x configuration</a><br>
<a href="#Ant_task">Ant Task</a><br>
<br>
<br>
<h2><a name="Running_launch4j"></a>Running
launch4j<br>
</h2>
Run <em>launch4j.exe</em>
or <em>launch4j</em>
script without command
line arguments to enter the GUI mode.<br>
<pre>launch4j.exe<br></pre>
To wrap a jar in console mode use <em>launch4jc.exe</em>&nbsp;<em></em>and
specify the configuration file using an absolute path.<br>
<pre>launch4jc.exe c:\src\demo\l4j\config.xml<br></pre>
On linux use the <em>launch4j</em>
script.<br>
<pre>launch4j ~/src/demo/l4j/config.xml<br></pre>
<br>
<h2><a name="Configuration_file"></a>Configuration
file</h2>
Launch4j requires an xml configuration file for each output executable.
You can create and edit it conveniently using the graphic user
interface or your favorite editor. Alternatively it's possible to pass
all of the configuration parameters through the Ant task. All files
except for <em>&lt;jre&gt;&lt;path&gt;</em>
may be absolute paths or
relative to the configuration file path.<br>
<pre>&lt;!-- <strong>Bold</strong> elements are required --&gt;<br><strong>&lt;launch4jConfig&gt;<br></strong> &lt;!-- Header types: 0-GUI, 1-console --&gt;<strong><br></strong> <strong>&lt;headerType&gt;</strong><span class="codeword">0|1</span><strong>&lt;/headerType&gt;</strong><br>&nbsp; <strong>&lt;jar&gt;</strong><span class="codeword">file</span><span class="codeword"></span><strong>&lt;/jar&gt;<br></strong> <strong>&lt;outfile&gt;</strong><span class="codeword">file.exe</span><strong><span class="codeword"></span>&lt;/outfile&gt;</strong><br> &lt;errTitle&gt;<span class="codeword">text</span>&lt;/errTitle&gt;<br> &lt;jarArgs&gt;<span class="codeword">text</span>&lt;/jarArgs&gt;<br> &lt;chdir&gt;<span class="codeword">path</span>&lt;/chdir&gt;<br> &lt;customProcName&gt;<span class="codeword">true|<u>false</u></span>&lt;/customProcName&gt;<br> &lt;stayAlive&gt;<span class="codeword">true|false</span>&lt;/stayAlive&gt;<br> &lt;icon&gt;<span class="codeword">file</span>&lt;/icon&gt;<br> <strong>&lt;jre&gt;<br></strong> &lt;!-- Specify one of the following or both --&gt;<br> <strong>&lt;path&gt;</strong><span class="codeword">path</span><strong>&lt;/path&gt;<br> </strong><strong>&lt;minVersion&gt;</strong><span class="codeword">x.x.x[_xx]</span><strong>&lt;/minVersion&gt;<br></strong> &lt;maxVersion&gt;<span class="codeword">x.x.x[_xx]</span>&lt;/maxVersion&gt;<br> &lt;!-- Heap sizes in MB, 0-use default --&gt;<br> &lt;initialHeapSize&gt;<span class="codeword">MB</span>&lt;/initialHeapSize&gt;<br> &lt;maxHeapSize&gt;<span class="codeword">MB</span>&lt;/maxHeapSize&gt;<br> &lt;args&gt;<span class="codeword">text</span>&lt;/args&gt;<br> <strong>&lt;/jre&gt;</strong><br> &lt;splash&gt;<br> <strong>&lt;file&gt;</strong><span class="codeword">file</span><strong>&lt;/file&gt;</strong><br> &lt;waitForWindow&gt;<span class="codeword"><u>true</u>|false</span>&lt;/waitForWindow&gt;<br> &lt;timeout&gt;<span class="codeword">seconds [60]</span>&lt;/timeout&gt;<br> &lt;timeoutErr&gt;<span class="codeword"><u>true</u>|false</span>&lt;/timeoutErr&gt;<br> &lt;/splash&gt;<br> &lt;versionInfo&gt;<br> <strong>&lt;fileVersion&gt;</strong><span class="codeword">x.x.x.x</span><strong>&lt;/fileVersion&gt;</strong><br> <strong>&lt;txtFileVersion&gt;</strong><span class="codeword">text</span><strong>&lt;/txtFileVersion&gt;</strong><br> <strong>&lt;fileDescription&gt;</strong><span class="codeword">text</span><strong>&lt;/fileDescription&gt;</strong><br> <strong>&lt;copyright&gt;</strong><span class="codeword">text</span><strong>&lt;/copyright&gt;</strong><br> <strong>&lt;productVersion&gt;</strong><span class="codeword">x.x.x.x</span><strong>&lt;/productVersion&gt;</strong><br> <strong>&lt;txtProductVersion&gt;</strong><span class="codeword">text</span><strong>&lt;/txtProductVersion&gt;</strong><br> <strong>&lt;productName&gt;</strong><span class="codeword">text</span><strong>&lt;/productName&gt;</strong><br> &lt;companyName&gt;<span class="codeword">text</span>&lt;/companyName&gt;<br> <strong>&lt;internalName&gt;</strong><span class="codeword">filename</span><strong>&lt;/internalName&gt;</strong><br> <strong>&lt;originalFilename&gt;</strong><span class="codeword">filename.exe</span><strong>&lt;/originalFilename&gt;</strong><br> &lt;/versionInfo&gt;<br><strong>&lt;/launch4jConfig&gt;</strong><br></pre>
<dl>
<dt>&lt;headerType&gt;</dt>
<dd>Type of the header used to
wrap the application.</dd>
</dl>
<table style="text-align: left;" border="1" cellpadding="4" cellspacing="0">
<tbody>
<tr>
<td style="text-align: center;"><span style="font-weight: bold;">Header&nbsp;</span><span style="font-weight: bold;">type</span><br>
</td>
<td style="white-space: nowrap; text-align: center; font-weight: bold;">App
type<br>
</td>
<td style="text-align: center;"><span style="font-weight: bold;">Launcher</span><br>
</td>
<td style="white-space: nowrap; text-align: center; font-weight: bold;">Splash
screen</td>
<td style="text-align: center; font-weight: bold; white-space: nowrap;">Wait
for the application to
close </td>
</tr>
<tr>
<td style="text-align: center;">0<br>
</td>
<td style="text-align: center;">GUI<br>
</td>
<td style="text-align: center;">javaw<br>
</td>
<td style="text-align: center;">yes<br>
</td>
<td>wrapper
waits only if <em>stayAlive</em>
is set to true, otherwise it terminates immediately or after closing
the splash screen.<br>
</td>
</tr>
<tr>
<td style="text-align: center;">1<br>
</td>
<td style="text-align: center;">console<br>
</td>
<td style="text-align: center;">java<br>
</td>
<td style="text-align: center;">no<br>
</td>
<td>always waits and
returns application's exit code.<br>
</td>
</tr>
</tbody>
</table>
<br>
<dl>
<dt>&lt;jar&gt;</dt>
<dd>Executable jar to wrap.</dd>
</dl>
<dl>
<dt>&lt;outfile&gt;</dt>
<dd>Output executable file.<strong></strong></dd>
</dl>
<dl>
<dt>&lt;errTitle&gt;</dt>
<dd>Optional,
sets the title of the error message box that's displayed if Java cannot
be found for instance. This usually should contain the name of your
application. The console header prefixes error messages with this
property (myapp: error...)</dd>
</dl>
<dl>
<dt>&lt;jarArgs&gt;</dt>
<dd>Optional, constant
command line arguments.</dd>
</dl>
<dl>
<dt>&lt;chdir&gt;</dt>
<dd>Optional. Change current
directory to an arbitrary path relative to the executable. <br>
If you omit this property
or leave it blank it will have no effect. Setting it to <em>.</em>
will change the current dir to the same directory as the executable. <em>..</em>
will change it to the parent directory, and so on.</dd>
<dd>
<pre>&lt;chdir&gt;.&lt;/chdir&gt;</pre>
</dd>
<dd>
<pre>&lt;chdir&gt;../somedir&lt;/chdir&gt;</pre>
</dd>
</dl>
<dl>
<dt>&lt;customProcName&gt;</dt>
<dd>Optional, defaults to
false.
Set the process name as the executable filename. Creates a temporary
file in launch4j-tmp directory inside the used JRE. These files are
deleted by
any launch4j wrapped application, which sets the process name and uses
the same JRE. The removal takes place when the application <strong>starts</strong>,
so at least one copy of this file will always be present.</dd>
</dl>
<dl>
<dt>&lt;stayAlive&gt;</dt>
<dd>Optional, defaults to
false
in GUI header, <em></em>
always true<span style="font-weight: bold;"> </span>in console header.
When enabled the
launcher waits for the Java application to finish and returns it's exit
code.</dd>
</dl>
<dl>
<dt>&lt;icon&gt;</dt>
<dd>Application icon in ICO
format. May contain multiple color depths/resolutions.<br>
</dd>
</dl>
<dl>
<dt>&lt;jre&gt;</dt>
<dd>Required element that groups
JRE settings.</dd>
</dl>
<blockquote>
<dl>
<dt>&lt;path&gt;,
&lt;minVersion&gt;, &lt;maxVersion&gt;<br>
</dt>
<dd>The <em>&lt;path&gt;</em>
property
is used
to specify the relative path (to the executable) of an embedded JRE, it
does not rely on the current directory or <em>&lt;chdir&gt;</em>.
Note that this path is
not checked until the actual application execution. If you'd like the
wrapper to search for a JRE (public or SDK
private) use the <em>&lt;minVersion&gt;</em>
property, you may also specify the <em>&lt;maxVersion&gt;</em>
to prevent it from using higher Java versions. Launch4j will always use
the highest version available (in the min/max range of course). You can
also combine these properties to change the startup process...</dd>
</dl>
<div style="margin-left: 40px;">
<dl>
<dt>&lt;path&gt;</dt>
<dd>Run if bundled JRE and
javaw.exe
are present, otherwise stop with error.</dd>
<dt>&lt;path&gt; +
&lt;minVersion&gt;&nbsp; [+ &lt;maxVersion&gt;]</dt>
<dd>Use bundled JRE first,
if it
cannot be located search for Java, if that fails display error message
and open the Java download page.</dd>
<dt>&lt;minVersion&gt;&nbsp;
[+ &lt;maxVersion&gt;]</dt>
<dd>Search for Java, if an
appropriate version cannot be found display error message and open the
Java download page.</dd>
</dl>
</div>
</blockquote>
<blockquote>
<dl>
<dt>&lt;initialHeapSize&gt;</dt>
<dd>Optional, initial heap
size in MB, 0 - use default.</dd>
</dl>
<dl>
<dt>&lt;maxHeapSize&gt;</dt>
<dd>Optional, max heap size in
MB, 0 - use default.</dd>
</dl>
<dl>
<dt>&lt;args&gt;</dt>
<dd>Optional, accepts
everything you would normally pass to
java/javaw
launcher: assertion options, system properties and X options.</dd>
</dl>
</blockquote>
<dl>
<dt>&lt;splash&gt;</dt>
<dd>Optional, groups the splash
screen settings. Allowed only in GUI header.<br>
</dd>
</dl>
<blockquote>
<dl>
<dt>&lt;file&gt;</dt>
<dd>Splash screen image in BMP
format.</dd>
</dl>
<dl>
<dt>&lt;waitForWindow&gt;</dt>
<dd>Optional,
defaults to true. Close the splash screen when an application window or
Java error message box appears. If set to false, the splash screen will
be closed on timeout.<br>
</dd>
</dl>
<dl>
<dt>&lt;timeout&gt;</dt>
<dd>Optional, defaults to
60.
Number of seconds after which the splash screen must be closed. Splash
timeout may cause an error depending on <em>&lt;timeoutErr&gt;</em>.</dd>
</dl>
<dl>
<dt>&lt;timeoutErr&gt;</dt>
<dd>Optional, defaults to
true.
True signals
an error on splash timeout, false
closes the splash screen quietly.</dd>
</dl>
</blockquote>
<dl>
<dt>&lt;versionInfo&gt;</dt>
<dd>Optional, version
information to be displayed by the Windows
Explorer.</dd>
</dl>
<blockquote>
<dl>
<dt>&lt;fileVersion&gt;</dt>
<dd>Version number 'x.x.x.x'<br>
</dd>
</dl>
<dl>
<dt>&lt;txtFileVersion&gt;</dt>
<dd>Free form file version,
for example '1.20.RC1'.<br>
</dd>
</dl>
<dl>
<dt>&lt;fileDescription&gt;</dt>
<dd>File description presented
to the user.<br>
</dd>
</dl>
<dl>
<dt>&lt;copyright&gt;</dt>
<dd>Legal copyright.<br>
</dd>
</dl>
<dl>
<dt>&lt;productVersion&gt;</dt>
<dd>Version number 'x.x.x.x'<br>
</dd>
</dl>
<dl>
<dt>&lt;txtProductVersion&gt;</dt>
<dd>Free form file version,
for example '1.20.RC1'.<br>
</dd>
</dl>
<dl>
<dt>&lt;productName&gt;</dt>
<dd>Text.<br>
</dd>
</dl>
<dl>
<dt>&lt;companyName&gt;</dt>
<dd>Optional text.<br>
</dd>
</dl>
<dl>
<dt>&lt;internalName&gt;</dt>
<dd>Internal name without
extension, original filename or module
name for example.<br>
</dd>
</dl>
<dl>
<dt>&lt;originalFilename&gt;</dt>
<dd>Original name of the file
without the path. Allows to determine
whether a file has been renamed by a user.<br>
</dd>
</dl>
</blockquote>
<br>
<h2><a name="Importing_1.x_configuration"></a>Importing
1.x
configuration</h2>
It's possible to import a 1.x configuration file using the GUI
interface. Open the file, correct the paths and save it as a new xml
configuration.<br>
<br>
<h2><a name="Ant_task"></a>Ant
task</h2>
You may set a launch4j directory property or change the task definition.
<pre>&lt;property name="launch4j.dir" location="/opt/launch4j" /&gt;</pre>
Define the task in your Ant build script.<br>
<pre>&lt;taskdef name="launch4j"<br> classname="net.sf.launch4j.ant.Launch4jTask"<br> classpath="${launch4j.dir}/launch4j.jar<br> :${launch4j.dir}/lib/xstream.jar" /&gt;<br></pre>
Execute the task!<br>
<pre>&lt;launch4j configFile="./l4j/demo.xml" /&gt;</pre>
You can set or override the following configuration properties...<br>
<em>&lt;jar&gt;<br>
&lt;outfile&gt;<br>
&lt;versionInfo&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;fileVersion&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;txtFileVersion&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;productVersion&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;txtProductVersion&gt;</em><em><br>
</em>
<pre>&lt;launch4j configFile="./l4j/demo.xml"<br> outfile="mydemo.exe"<br> &nbsp;fileVersion="1.0.0.0" txtFileVersion="1.0 RC2" /&gt;<br></pre>
You can also define the entire configuration in the task, but it will
not be possible to edit such a file in the GUI mode. All paths except
for <em>&lt;chdir&gt;</em> and <em>&lt;jre&gt;&lt;path&gt;</em> are
calculated using the <em>basedir</em> project attribute.
<pre>&lt;launch4j&gt;<br> &lt;config headerType="0" jar="demo.jar" outfile="demo.exe"&gt;<br> &lt;jre minVersion="1.4.0" /&gt;<br> &lt;/config&gt;<br>&lt;/launch4j&gt;<br></pre>
</div>
<div id="footer">Copyright
&copy; 2005 Grzegorz Kowal
<br>
<br>
<p><a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=95944&amp;type=4" alt="SourceForge.net Logo" border="0" height="37" width="125"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="http://www.nosoftwarepatents.com"><img alt="" src="http://www.nosoftwarepatents.com/banners/90x40_3.jpg" style="border: 0px solid ; width: 90px; height: 40px;"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!" border="0" height="31" width="88"></a>
</p>
</div>
</div>
</body></html>

View File

@@ -1,152 +1,128 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Launch4j :: Cross-platform Java application wrapper for creating Windows native executables</title><meta content="Grzegorz Kowal" name="author">
<meta content="Cross-platform java application wrapper for creating Windows native executables.
Features native splash screen, application icon, small stub." name="description">
<meta name="Keywords" content="Java, java, exe, native, windows, Windows, jar, wrap, wrapper, launch,
run, execute, executable, splash, icon, ico, ant, build, script, deploy, free, freeware, open source,
gpl, GPL, lgpl, LGPL, sourceforge, c++, C++, W2K, WXP, W98, linux, Linux">
<link rel="stylesheet" type="text/css" href="layout.css">
<link rel="stylesheet" type="text/css" href="style.css"></head>
<body>
<div id="container">
<div id="top"><img style="width: 249px; height: 58px;" alt="" src="launch4j.gif"><span style="color: rgb(48, 127, 225);"> <small><span style="font-weight: bold; font-family: Helvetica,Arial,sans-serif;">1.4.2,&nbsp;
2.0.RC3</span></small></span>
</div>
<div id="leftnav">
<ul id="navlist">
<li><a href="index.html"><span style="font-weight: bold;"></span>Home</a></li>
<li><a href="docs1.html"><span style="font-weight: bold;"></span>1.x
docs</a></li>
<li><a href="docs2.html"><span style="font-weight: bold;"></span>2.x
docs</a></li>
<li><a href="changelog.html"><span style="font-weight: bold;"></span>Changelog</a></li>
<li><a href="http://sourceforge.net/project/screenshots.php?group_id=95944"><span style="font-weight: bold;"></span>Screenshots</a></li>
<li><a href="http://sourceforge.net/project/showfiles.php?group_id=95944"><span style="font-weight: bold;"></span>Download</a></li>
<li><a href="http://sourceforge.net/forum/?group_id=95944"><span style="font-weight: bold;"></span>Support</a></li>
<li><a href="http://sourceforge.net/projects/launch4j"><span style="font-weight: bold;"></span>Project
summary</a></li>
<li><a href="http://sourceforge.net/tracker/?atid=613100&amp;group_id=95944"><span style="font-weight: bold;"></span>Bug
tracker</a></li>
<li><a href="links.html"><span style="font-weight: bold;"></span>Links</a></li>
</ul>
</div>
<div id="content"><big><span style="color: rgb(48, 127, 225);">
Cross-platform Java application wrapper for creating Windows </span></big><big><span style="color: rgb(48, 127, 225);">native </span></big><big><span style="color: rgb(48, 127, 225);">EXEs.</span></big>
<h2><span style="font-weight: bold;"></span></h2>
Launch4j is a cross-platform tool for wrapping
Java applications distributed as jars in lightweight Windows
native executables. The executable can be
configured to search for a certain JRE version or
use a bundled one, and it's possible to set
runtime options, like the initial/max heap size.
The wrapper also provides better user experience
through an application icon, a native pre-JRE
splash screen, a custom process name, and a Java
download page in case the appropriate JRE cannot
be found.<br>
<br>
<h2><span style="font-weight: bold;"></span><small><span style="color: rgb(255, 0, 0);"><span style="color: rgb(0, 0, 0);"></span></span></small>
Features (2.x)</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 Linux!<br>
</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.<i> </i><span style="font-weight: bold; color: rgb(255, 0, 0);"></span></li>
<li>Works with a bundled JRE or
searches for newest JRE / SDK
in
given range.</li>
<li>Opens <strong>Java
download page</strong> if an
appropriate Java version
cannot be found.</li>
<li>Supports <strong>GUI
and
console apps</strong>.<br>
</li>
<li>Passes command line
arguments, also supports constant arguments.</li>
<li>Allows to set the initial/max heap size.<br>
</li>
<li>JVM options: set system properties, tweak the garbage
collection...<span style="font-weight: bold;"> </span><span style="font-weight: bold; color: rgb(255, 0, 0);"></span></li>
<li><span style="color: rgb(255, 0, 0);"><span style="color: rgb(0, 0, 0);">Option
to change current directory to the executable location.</span></span></li>
<li><span style="color: rgb(255, 0, 0);"><span style="color: rgb(0, 0, 0);">Custom <strong>version
information</strong> shown by Windows Explorer.<br>
</span></span></li>
<li><span style="color: rgb(255, 0, 0);"><span style="color: rgb(0, 0, 0);"><strong>GUI</strong> and command line
interface.</span></span></li>
<li><span style="color: rgb(255, 0, 0);"><span style="color: rgb(0, 0, 0);">Build integration through an <strong>Ant
task</strong>.<br>
</span></span></li>
<li><big><b>Lightweight: 21 KB!</b></big> <span style="font-weight: bold; color: rgb(255, 0, 0);"></span></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.<br>
</li>
<li><span style="color: rgb(255, 0, 0);"><span style="color: rgb(0, 0, 0);">The wrapped program
works on all Windows platforms (98/Me/NT/2K/Xp), launch4j works on
NT/2K/Xp, Linux (developed and tested on FC2).<br>
</span></span></li>
</ul>
<h2>License</h2>
This program is free software licensed under the <a href="http://www.gnu.org/copyleft/gpl.html">GPL
license</a>, the <i>head</i>
subproject (the code which is attached to the wrapped jars) is licensed
under the <span style="font-weight: bold;"></span><a href="http://www.gnu.org/copyleft/lesser.html">LGPL
license</a>.
Launch4j may be used for wrapping closed source, commercial
applications.<br>
<br>
<h2>Info</h2>Running Launch4j on other Java enabled platforms is a matter
of getting a binary version of <a href="http://www.mingw.org/">MinGW</a>
binutils 2.15.90 (<b>windres</b>
and <b>ld</b>
only) for your system or compiling them. If you'll
provide these, I'll be able to create a binary package
available for download.<br>
<br>
<a href="http://sourceforge.net/forum/forum.php?forum_id=332683"></a></div>
<div id="footer">
Copyright
&copy; 2005 Grzegorz Kowal
<br>
<br>
<p><a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=95944&amp;type=4" alt="SourceForge.net Logo" border="0" height="37" width="125"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="http://www.nosoftwarepatents.com"><img alt="" src="http://www.nosoftwarepatents.com/banners/90x40_3.jpg" style="border: 0px solid ; width: 90px; height: 40px;"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!" border="0" height="31" width="88"></a>
</p>
</div>
</div>
</body></html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Launch4j - Cross-platform Java executable wrapper</title>
<meta name="description" content="Cross-platform Java executable wrapper for creating lightweight Windows native EXEs. Provides better user experience.">
<meta name="keywords" content="java executable wrapper, java application wrapper, exe wrapper, jar wrapper, wrap, wraps, wrapping, free software, launch, launcher, linux, mac, windows, open source, ant, solaris, native splash screen, deploy, build tool">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="author" content="Grzegorz Kowal" >
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div id="container">
<div id="top">
<img style="width: 249px; height: 58px;" src="launch4j.gif" alt="launch4j"> <span class="version">3.0.1</span>
</div>
<div id="leftnav">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="docs.html">Docs</a></li>
<li><a href="changelog.html">Changelog</a></li>
<li><a href="http://sourceforge.net/project/screenshots.php?group_id=95944">Screenshots</a></li>
<li><a href="http://sourceforge.net/project/showfiles.php?group_id=95944&amp;package_id=192323">Download</a></li>
<li><a href="http://sourceforge.net/forum/?group_id=95944">Support</a></li>
<li><a href="http://sourceforge.net/projects/launch4j">Project summary</a></li>
<li><a href="http://sourceforge.net/tracker/?atid=613100&amp;group_id=95944">Bug tracker</a></li>
<li><a href="links.html">Links</a></li>
</ul>
<!--
*** Spanish docs are outdated ***
<ul style="margin-top: 20px; font-size: 75%">
<li><a href="index.html">English</a></li>
<li><a href="index_es.html">Español</a></li>
</ul>
-->
</div>
<div id="content">
<h2>Cross-platform Java executable wrapper</h2>
<p>
Launch4j is a cross-platform tool for wrapping
Java applications distributed as jars in lightweight Windows
native executables. The executable can be
configured to search for a certain JRE version or
use a bundled one, and it's possible to set
runtime options, like the initial/max heap size.
The wrapper also provides better user experience
through an application icon, a native pre-JRE
splash screen, a custom process name, and a Java
download page in case the appropriate JRE cannot
be found.
</p>
<img style="width: 352px; height: 498px; margin-left: 100px;" src="launch4j-use.gif" alt="How to use Launch4">
<h2>Features</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="http://9stmaryrd.com/tools/launch4j-maven-plugin/">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>
<h2>License</h2>
<p>
This program is free software licensed under the
<a href="http://www.opensource.org/licenses/bsd-license.html">BSD license</a>, the <em>head</em> subproject
(the code which is attached to the wrapped jars) is licensed under the
<a href="http://www.opensource.org/licenses/mit-license.html">MIT license</a>.
Launch4j may be used for wrapping closed source, commercial applications.
</p>
<h2>Info</h2>
<p>
Running Launch4j on other Java enabled platforms is a matter of getting a binary version
of <a href="http://www.mingw.org/">MinGW</a> binutils 2.15.90 (<em>windres</em> and <em>ld</em> only)
for your system or compiling them. If you'll provide these, I'll be able to create a binary package
available for download.
</p>
<a href="http://sourceforge.net/forum/forum.php?forum_id=332683"></a>
</div>
<div class="footer">
All trademarks mentioned are properties of their respective owners.<br />
Copyright &copy; 2005-2008 Grzegorz Kowal
<p style="margin-top: 2em">
<a href="http://sourceforge.net"><img style="width: 125px; height: 37px; border: none" src="http://sourceforge.net/sflogo.php?group_id=95944&amp;type=4" alt="sf.net"></a>
<a href="http://www.nosoftwarepatents.com"><img style="width: 90px; height: 40px; border: none; margin-left: 5%" src="http://www.nosoftwarepatents.com/banners/90x40_3.jpg" alt=""></a>
<a href="http://validator.w3.org/check?uri=referer"><img style="width: 88px; height: 31px; border: none; margin-left: 5%" src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!"></a>
</p>
</div>
</div>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -1,83 +0,0 @@
/* Generated by CaScadeS, a stylesheet editor for Mozilla Composer */
#container { border-width: 0px;
margin: 10px auto;
width: 90%;
color: rgb(51, 51, 51);
line-height: 130%;
background-color: rgb(255, 255, 255);
}
#top { padding: 0.5em;
background-color: rgb(255, 255, 255);
}
#top h1 { margin: 0pt;
padding: 0pt;
}
#leftnav { margin: 0pt;
padding: 0.5em;
float: left;
width: 160px;
background-color: rgb(255, 255, 255);
}
#leftnav ul { border-width: 0px;
margin-left: 0pt;
padding-left: 0pt;
list-style-type: none;
font-family: Arial,Helvetica,sans-serif;
font-weight: inherit;
}
#leftnav a { padding: 2px;
display: block;
width: 160px;
}
#leftnav a:link, #navlist a:visited { text-decoration: none;
color: rgb(102, 102, 102);
}
#leftnav a:hover { color: rgb(255, 255, 255);
background-color: rgb(48, 127, 225);
}
#content { border-width: 0pt 0pt 0pt 1px;
border-left: 1px solid rgb(204, 204, 204);
padding: 1em;
margin-left: 200px;
background-color: rgb(255, 255, 255);
max-width: 36em;
}
#content a:link { text-decoration: none;
color: rgb(102, 102, 102);
}
#content a:visited { text-decoration: none;
color: rgb(69, 69, 69);
}
#content a:hover { color: rgb(48, 127, 255);
text-decoration: underline;
}
#footer { border-color: gray;
border-width: 1px;
margin: 0pt;
padding: 0.5em;
clear: both;
color: rgb(51, 51, 51);
background-color: rgb(255, 255, 255);
text-align: center;
font-size: 90%;
}
#leftnav p { margin: 0pt 0pt 1em;
}
#content h2 { margin: 0pt 0pt 0.5em;
}

View File

@@ -1,88 +1,73 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<title>Launch4j :: Cross-platform java application wrapper for
creating Windows native executables</title>
<meta content="Grzegorz Kowal" name="author">
<meta
content="Cross-platform java application wrapper for creating Windows native executables.
Features native splash screen, application icon, small stub."
name="description">
<meta name="Keywords"
content="Java, java, exe, native, windows, Windows, jar, wrap, wrapper, launch,
run, execute, executable, splash, icon, ico, ant, build, script, deploy, free, freeware, open source,
gpl, GPL, lgpl, LGPL, sourceforge, c++, C++, W2K, WXP, W98, linux, Linux">
<link rel="stylesheet" type="text/css" href="layout.css">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div id="container">
<div id="top"><img style="width: 249px; height: 58px;" alt=""
src="launch4j.gif"><span style="color: rgb(48, 127, 225);"> <small><span
style="font-weight: bold; font-family: Helvetica,Arial,sans-serif;">1.4.2,&nbsp;
2.0.RC3</span></small></span>
</div>
<div id="leftnav">
<ul id="navlist">
<li><a href="index.html"><span style="font-weight: bold;"></span>Home</a></li>
<li><a href="docs1.html"><span style="font-weight: bold;"></span>1.x
docs</a></li>
<li><a href="docs2.html"><span style="font-weight: bold;"></span>2.x
docs</a></li>
<li><a href="changelog.html"><span style="font-weight: bold;"></span>Changelog</a></li>
<li><a
href="http://sourceforge.net/project/screenshots.php?group_id=95944"><span
style="font-weight: bold;"></span>Screenshots</a></li>
<li><a
href="http://sourceforge.net/project/showfiles.php?group_id=95944"><span
style="font-weight: bold;"></span>Download</a></li>
<li><a href="http://sourceforge.net/forum/?group_id=95944"><span
style="font-weight: bold;"></span>Support</a></li>
<li><a href="http://sourceforge.net/projects/launch4j"><span
style="font-weight: bold;"></span>Project
summary</a></li>
<li><a
href="http://sourceforge.net/tracker/?atid=613100&amp;group_id=95944"><span
style="font-weight: bold;"></span>Bug
tracker</a></li>
<li><a href="links.html"><span style="font-weight: bold;"></span>Links</a></li>
</ul>
</div>
<div id="content">
<h2>Links</h2>
<p><a href="http://www.mingw.org/">MinGW</a><br>
<a href="http://jakarta.apache.org/commons/beanutils/">Commons
BeanUtils</a><br>
<a href="http://jakarta.apache.org/commons/logging/">Commons
Logging</a><br>
<a href="http://xstream.codehaus.org/">XStream</a><br>
<a href="http://www.jgoodies.com/freeware/forms/">JGoodies Forms</a><br>
<a href="http://www.jgoodies.com/freeware/looks/">JGoodies Looks</a><br>
<a href="http://www.icon-king.com/">Nuvola Icon Theme</a><br>
<a href="https://abeille.dev.java.net/">Abeille Forms Designer</a><br>
<a href="http://www.eclipse.org/">Eclipse</a><br>
<a href="http://www.bloodshed.net/devcpp.html">Bloodshed Dev-C++
IDE</a><br>
</p>
</div>
<div id="footer">
Copyright
&copy; 2005 Grzegorz Kowal
<br>
<br>
<p><a href="http://sourceforge.net"><img
src="http://sourceforge.net/sflogo.php?group_id=95944&amp;type=4"
alt="SourceForge.net Logo" border="0" height="37" width="125"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="http://www.nosoftwarepatents.com"><img alt=""
src="http://www.nosoftwarepatents.com/banners/90x40_3.jpg"
style="border: 0px solid ; width: 90px; height: 40px;"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="http://validator.w3.org/check?uri=referer"><img
src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!"
border="0" height="31" width="88"></a>
</p>
</div>
</div>
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Launch4j - Cross-platform Java executable wrapper</title>
<meta name="description" content="Cross-platform Java executable wrapper for creating lightweight Windows native EXEs. Provides better user experience.">
<meta name="keywords" content="java executable wrapper, java application wrapper, exe wrapper, jar wrapper, wrap, wraps, wrapping, free software, launch, launcher, linux, mac, windows, open source, ant, solaris, native splash screen, deploy, build tool">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="author" content="Grzegorz Kowal" >
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div id="container">
<div id="top">
<img style="width: 249px; height: 58px;" src="launch4j.gif" alt="launch4j"> <span class="version">3.0.1</span>
</div>
<div id="leftnav">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="docs.html">Docs</a></li>
<li><a href="changelog.html">Changelog</a></li>
<li><a href="http://sourceforge.net/project/screenshots.php?group_id=95944">Screenshots</a></li>
<li><a href="http://sourceforge.net/project/showfiles.php?group_id=95944&amp;package_id=192323">Download</a></li>
<li><a href="http://sourceforge.net/forum/?group_id=95944">Support</a></li>
<li><a href="http://sourceforge.net/projects/launch4j">Project summary</a></li>
<li><a href="http://sourceforge.net/tracker/?atid=613100&amp;group_id=95944">Bug tracker</a></li>
<li><a href="links.html">Links</a></li>
</ul>
<!--
*** Spanish docs are outdated ***
<ul style="margin-top: 20px; font-size: 75%">
<li><a href="index.html">English</a></li>
<li><a href="index_es.html">Español</a></li>
</ul>
-->
</div>
<div id="content">
<h2>Links</h2>
<p>
<a href="http://9stmaryrd.com/tools/launch4j-maven-plugin/">Launch4j Maven Plugin by Paul A. Jungwirth</a><br>
<a href="http://www.nbextras.org/2006/04/04/1144154738434.html">Launch4j integration module for NetBeans by Dafe Simonek</a><br><br>
<a href="http://www.mingw.org/">MinGW</a><br>
<a href="http://jakarta.apache.org/commons/beanutils/">Commons BeanUtils</a><br>
<a href="http://jakarta.apache.org/commons/logging/">Commons Logging</a><br>
<a href="http://xstream.codehaus.org/">XStream</a><br>
<a href="http://www.jgoodies.com/freeware/forms/">JGoodies Forms</a><br>
<a href="http://www.jgoodies.com/freeware/looks/">JGoodies Looks</a><br>
<a href="http://www.icon-king.com/">Nuvola Icon Theme</a><br>
<a href="http://abeille.dev.java.net/">Abeille Forms Designer</a><br>
<a href="http://www.eclipse.org/">Eclipse</a><br>
<a href="http://www.bloodshed.net/devcpp.html">Bloodshed Dev-C++ IDE</a><br>
</p>
<h3>Windows native installers</h3>
<p>
<a href="http://nsis.sourceforge.net/">NSIS</a> (cross-platform, targets Windows)<br>
<a href="http://www.jrsoftware.org/isinfo.php">Inno Setup</a><br>
</p>
<h3>Cross-platform Java installers</h3>
<p>
<a href="http://www.izforge.com/izpack/">IzPack<a><br>
</p>
</div>
<div class="footer">
All trademarks mentioned are properties of their respective owners.<br />
Copyright &copy; 2005-2008 Grzegorz Kowal
<p style="margin-top: 2em">
<a href="http://sourceforge.net"><img style="width: 125px; height: 37px; border: none" src="http://sourceforge.net/sflogo.php?group_id=95944&amp;type=4" alt="sf.net"></a>
<a href="http://www.nosoftwarepatents.com"><img style="width: 90px; height: 40px; border: none; margin-left: 5%" src="http://www.nosoftwarepatents.com/banners/90x40_3.jpg" alt=""></a>
<a href="http://validator.w3.org/check?uri=referer"><img style="width: 88px; height: 31px; border: none; margin-left: 5%" src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!"></a>
</p>
</div>
</div>
</body>
</html>

View File

@@ -1,23 +1,159 @@
/* Generated by CaScadeS, a stylesheet editor for Mozilla Composer */
pre { border: 1px dashed rgb(153, 153, 153);
padding: 8px;
background-color: rgb(241, 241, 241);
font-family: Courier New,Courier,monospace;
font-size: smaller;
}
.codeword { color: rgb(51, 51, 255);
}
dt { font-weight: bold;
}
em { font-weight: bold;
color: rgb(102, 102, 102);
font-style: normal;
}
body { font-family: Times New Roman,Times,serif;
}
body, table {
font: 12px/20px Verdana, Arial, Helvetica, sans-serif;
}
pre {
padding: 8px;
border: 1px dashed #999999;
background-color: #f1f1f1;
font: 13px/20px "Courier New", Courier, monospace;
}
.version {
color: #307fe1;
font-weight: bold;
}
.codeword {
color: #3333ff;
}
.attrib {
color: #404040;
}
.option {
font-family: "Courier New", Courier, monospace;
font-weight: bold;
}
dt {
margin-top: 1.5em;
color: #404040;
font-size: 115%;
border-bottom: 1px solid #cccccc;
}
dd {
margin-left: 1em;
}
.warn, ul.changes em {
color: #ff0000;
}
table {
margin-top: 1em;
padding: 0;
border: 1px solid #999999;
border-collapse: collapse;
text-align: center;
}
table th {
padding: 2px 4px;
border: 1px solid #999999;
background-color: #f1f1f1;
}
table td {
padding: 2px 4px;
border: 1px solid #999999;
}
.description {
text-align: left;
}
#container {
width: 90%;
margin: 10px auto;
border-width: 0;
background-color: #ffffff;
}
#top {
padding: 0.5em;
background-color: #ffffff;
}
#top h1 {
margin: 0;
padding: 0;
}
#leftnav {
float: left;
width: 170px;
margin: 0;
padding: 0.5em;
background-color: #ffffff;
}
#leftnav ul {
margin: 0;
padding: 0;
border: none;
list-style-type: none;
font-size: 115%;
}
#leftnav a {
width: 170px;
height: 1.6em;
line-height: 1.6em;
display: block;
padding-left: 0.2em;
}
#leftnav a:link, #leftnav a:visited {
text-decoration: none;
color: #666666;
}
#leftnav a:hover {
background-color: #307fe1;
color: #ffffff;
}
#content {
max-width: 52em;
margin-left: 190px;
padding: 1em;
border-left: 1px solid #cccccc;
background-color: #ffffff;
}
#content ul {
list-style-image: url('bullet.gif');
}
#content a:link {
text-decoration: none;
color: #307fe1;
}
#content a:visited {
text-decoration: none;
color: #307fe1;
}
#content a:hover {
color: #307fe1;
text-decoration: underline;
}
#content h2 {
font-size: 150%;
}
#content h2:first-child {
margin: 0 0 0.5em;
}
.footer {
clear: both;
margin: 0;
padding: 0.5em;
background-color: #ffffff;
color: #333333;
text-align: center;
font-size: 90%;
}