forked from I2P_Developers/i2p.i2p
launch4j
This commit is contained in:
202
installer/lib/launch4j/web/changelog.html
Normal file
202
installer/lib/launch4j/web/changelog.html
Normal file
@@ -0,0 +1,202 @@
|
||||
<!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,
|
||||
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&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>Changelog</h2>
|
||||
<strong>Changes in version 2.0 RC3 (13-08-2005) - final RC<br></strong><ul><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: <font color="#ff0000"><waitForTitle>title</waitForTitle></font>
|
||||
is now <font color="#ff0000"><waitForWindow>true</waitForWindow></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"><chdir>true</chdir></font>
|
||||
is now <font color="#ff0000"><chdir>.</chdir></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>
|
||||
</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
|
||||
© 2005 Grzegorz Kowal
|
||||
<br>
|
||||
<br>
|
||||
<p><a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=95944&type=4" alt="SourceForge.net Logo" border="0" height="37" width="125"></a>
|
||||
<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>
|
||||
<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>
|
345
installer/lib/launch4j/web/docs1.html
Normal file
345
installer/lib/launch4j/web/docs1.html
Normal file
@@ -0,0 +1,345 @@
|
||||
<!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,
|
||||
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&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 // 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
|
||||
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
|
||||
© 2005 Grzegorz Kowal
|
||||
<br>
|
||||
<br>
|
||||
<p><a href="http://sourceforge.net"><img
|
||||
src="http://sourceforge.net/sflogo.php?group_id=95944&type=4"
|
||||
alt="SourceForge.net Logo" border="0" height="37" width="125"></a>
|
||||
<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>
|
||||
<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>
|
394
installer/lib/launch4j/web/docs2.html
Normal file
394
installer/lib/launch4j/web/docs2.html
Normal file
@@ -0,0 +1,394 @@
|
||||
<!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,
|
||||
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&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> <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><jre><path></em>
|
||||
may be absolute paths or
|
||||
relative to the configuration file path.<br>
|
||||
<pre><!-- <strong>Bold</strong> elements are required --><br><strong><launch4jConfig><br></strong> <!-- Header types: 0-GUI, 1-console --><strong><br></strong> <strong><headerType></strong><span class="codeword">0|1</span><strong></headerType></strong><br> <strong><jar></strong><span class="codeword">file</span><span class="codeword"></span><strong></jar><br></strong> <strong><outfile></strong><span class="codeword">file.exe</span><strong><span class="codeword"></span></outfile></strong><br> <errTitle><span class="codeword">text</span></errTitle><br> <jarArgs><span class="codeword">text</span></jarArgs><br> <chdir><span class="codeword">path</span></chdir><br> <customProcName><span class="codeword">true|<u>false</u></span></customProcName><br> <stayAlive><span class="codeword">true|false</span></stayAlive><br> <icon><span class="codeword">file</span></icon><br> <strong><jre><br></strong> <!-- Specify one of the following or both --><br> <strong><path></strong><span class="codeword">path</span><strong></path><br> </strong><strong><minVersion></strong><span class="codeword">x.x.x[_xx]</span><strong></minVersion><br></strong> <maxVersion><span class="codeword">x.x.x[_xx]</span></maxVersion><br> <!-- Heap sizes in MB, 0-use default --><br> <initialHeapSize><span class="codeword">MB</span></initialHeapSize><br> <maxHeapSize><span class="codeword">MB</span></maxHeapSize><br> <args><span class="codeword">text</span></args><br> <strong></jre></strong><br> <splash><br> <strong><file></strong><span class="codeword">file</span><strong></file></strong><br> <waitForWindow><span class="codeword"><u>true</u>|false</span></waitForWindow><br> <timeout><span class="codeword">seconds [60]</span></timeout><br> <timeoutErr><span class="codeword"><u>true</u>|false</span></timeoutErr><br> </splash><br> <versionInfo><br> <strong><fileVersion></strong><span class="codeword">x.x.x.x</span><strong></fileVersion></strong><br> <strong><txtFileVersion></strong><span class="codeword">text</span><strong></txtFileVersion></strong><br> <strong><fileDescription></strong><span class="codeword">text</span><strong></fileDescription></strong><br> <strong><copyright></strong><span class="codeword">text</span><strong></copyright></strong><br> <strong><productVersion></strong><span class="codeword">x.x.x.x</span><strong></productVersion></strong><br> <strong><txtProductVersion></strong><span class="codeword">text</span><strong></txtProductVersion></strong><br> <strong><productName></strong><span class="codeword">text</span><strong></productName></strong><br> <companyName><span class="codeword">text</span></companyName><br> <strong><internalName></strong><span class="codeword">filename</span><strong></internalName></strong><br> <strong><originalFilename></strong><span class="codeword">filename.exe</span><strong></originalFilename></strong><br> </versionInfo><br><strong></launch4jConfig></strong><br></pre>
|
||||
<dl>
|
||||
<dt><headerType></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 </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><jar></dt>
|
||||
<dd>Executable jar to wrap.</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><outfile></dt>
|
||||
<dd>Output executable file.<strong></strong></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>
|
||||
<dl>
|
||||
<dt><jarArgs></dt>
|
||||
<dd>Optional, constant
|
||||
command line arguments.</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><chdir></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><chdir>.</chdir></pre>
|
||||
</dd>
|
||||
<dd>
|
||||
<pre><chdir>../somedir</chdir></pre>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><customProcName></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><stayAlive></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><icon></dt>
|
||||
<dd>Application icon in ICO
|
||||
format. May contain multiple color depths/resolutions.<br>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><jre></dt>
|
||||
<dd>Required element that groups
|
||||
JRE settings.</dd>
|
||||
</dl>
|
||||
<blockquote>
|
||||
<dl>
|
||||
<dt><path>,
|
||||
<minVersion>, <maxVersion><br>
|
||||
</dt>
|
||||
<dd>The <em><path></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><chdir></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><minVersion></em>
|
||||
property, you may also specify the <em><maxVersion></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><path></dt>
|
||||
<dd>Run if bundled JRE and
|
||||
javaw.exe
|
||||
are present, otherwise stop with error.</dd>
|
||||
<dt><path> +
|
||||
<minVersion> [+ <maxVersion>]</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><minVersion>
|
||||
[+ <maxVersion>]</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><initialHeapSize></dt>
|
||||
<dd>Optional, initial heap
|
||||
size in MB, 0 - use default.</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><maxHeapSize></dt>
|
||||
<dd>Optional, max heap size in
|
||||
MB, 0 - use default.</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><args></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><splash></dt>
|
||||
<dd>Optional, groups the splash
|
||||
screen settings. Allowed only in GUI header.<br>
|
||||
</dd>
|
||||
</dl>
|
||||
<blockquote>
|
||||
<dl>
|
||||
<dt><file></dt>
|
||||
<dd>Splash screen image in BMP
|
||||
format.</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><waitForWindow></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><timeout></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><timeoutErr></em>.</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><timeoutErr></dt>
|
||||
<dd>Optional, defaults to
|
||||
true.
|
||||
True signals
|
||||
an error on splash timeout, false
|
||||
closes the splash screen quietly.</dd>
|
||||
</dl>
|
||||
</blockquote>
|
||||
<dl>
|
||||
<dt><versionInfo></dt>
|
||||
<dd>Optional, version
|
||||
information to be displayed by the Windows
|
||||
Explorer.</dd>
|
||||
</dl>
|
||||
<blockquote>
|
||||
<dl>
|
||||
<dt><fileVersion></dt>
|
||||
<dd>Version number 'x.x.x.x'<br>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><txtFileVersion></dt>
|
||||
<dd>Free form file version,
|
||||
for example '1.20.RC1'.<br>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><fileDescription></dt>
|
||||
<dd>File description presented
|
||||
to the user.<br>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><copyright></dt>
|
||||
<dd>Legal copyright.<br>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><productVersion></dt>
|
||||
<dd>Version number 'x.x.x.x'<br>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><txtProductVersion></dt>
|
||||
<dd>Free form file version,
|
||||
for example '1.20.RC1'.<br>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><productName></dt>
|
||||
<dd>Text.<br>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><companyName></dt>
|
||||
<dd>Optional text.<br>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><internalName></dt>
|
||||
<dd>Internal name without
|
||||
extension, original filename or module
|
||||
name for example.<br>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><originalFilename></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><property name="launch4j.dir" location="/opt/launch4j" /></pre>
|
||||
Define the task in your Ant build script.<br>
|
||||
<pre><taskdef name="launch4j"<br> classname="net.sf.launch4j.ant.Launch4jTask"<br> classpath="${launch4j.dir}/launch4j.jar<br> :${launch4j.dir}/lib/xstream.jar" /><br></pre>
|
||||
Execute the task!<br>
|
||||
<pre><launch4j configFile="./l4j/demo.xml" /></pre>
|
||||
You can set or override the following configuration properties...<br>
|
||||
<em><jar><br>
|
||||
<outfile><br>
|
||||
<versionInfo><br>
|
||||
<fileVersion><br>
|
||||
<txtFileVersion><br>
|
||||
<productVersion><br>
|
||||
<txtProductVersion></em><em><br>
|
||||
</em>
|
||||
<pre><launch4j configFile="./l4j/demo.xml"<br> outfile="mydemo.exe"<br> fileVersion="1.0.0.0" txtFileVersion="1.0 RC2" /><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><chdir></em> and <em><jre><path></em> are
|
||||
calculated using the <em>basedir</em> project attribute.
|
||||
<pre><launch4j><br> <config headerType="0" jar="demo.jar" outfile="demo.exe"><br> <jre minVersion="1.4.0" /><br> </config><br></launch4j><br></pre>
|
||||
</div>
|
||||
<div id="footer">Copyright
|
||||
© 2005 Grzegorz Kowal
|
||||
<br>
|
||||
<br>
|
||||
<p><a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=95944&type=4" alt="SourceForge.net Logo" border="0" height="37" width="125"></a>
|
||||
<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>
|
||||
<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>
|
152
installer/lib/launch4j/web/index.html
Normal file
152
installer/lib/launch4j/web/index.html
Normal file
@@ -0,0 +1,152 @@
|
||||
<!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,
|
||||
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&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
|
||||
© 2005 Grzegorz Kowal
|
||||
<br>
|
||||
<br>
|
||||
<p><a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=95944&type=4" alt="SourceForge.net Logo" border="0" height="37" width="125"></a>
|
||||
<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>
|
||||
<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>
|
BIN
installer/lib/launch4j/web/launch4j.gif
Normal file
BIN
installer/lib/launch4j/web/launch4j.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.4 KiB |
83
installer/lib/launch4j/web/layout.css
Normal file
83
installer/lib/launch4j/web/layout.css
Normal file
@@ -0,0 +1,83 @@
|
||||
/* 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;
|
||||
}
|
||||
|
88
installer/lib/launch4j/web/links.html
Normal file
88
installer/lib/launch4j/web/links.html
Normal file
@@ -0,0 +1,88 @@
|
||||
<!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,
|
||||
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&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
|
||||
© 2005 Grzegorz Kowal
|
||||
<br>
|
||||
<br>
|
||||
<p><a href="http://sourceforge.net"><img
|
||||
src="http://sourceforge.net/sflogo.php?group_id=95944&type=4"
|
||||
alt="SourceForge.net Logo" border="0" height="37" width="125"></a>
|
||||
<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>
|
||||
<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>
|
23
installer/lib/launch4j/web/style.css
Normal file
23
installer/lib/launch4j/web/style.css
Normal file
@@ -0,0 +1,23 @@
|
||||
/* 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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user