3.0.1

- Home
- Docs
- Changelog
- Screenshots
- Download
- Support
- Project summary
- Bug tracker
- Links

## Changelog

#### Changes in version 3.0.1 (20-07-2008)

- Enhanced the runtime logging (--l4j-debug).
- Fixed critical bug #1925387 64-bit JDK detection problem caused a runtime search error (found by Stivo).
- Fixed bug #1919406, #1989479 Not every option is loaded from saved xml file (found by Robert Lachner, Jan-Philipp Rathje).
- Fixed bug #1930222 Simple typo (found by Daniel).

#### Changes in version 3.0.0 (16-03-2008)

- FR #1390075 Added dynamic initial/max heap values.
- FR #1707827 Allow to prefer JDK private runtimes over JREs (Ian Roberts).
- FR #1730245 Allow to run only a single aplication instance (Sylvain Mina).
- FR #1391610 Added IBM JRE/JDK support.
- Added environment variable expansion in bundled JRE path.
- Fixed critical bug #1882524 JRE detection problem on 64-bit Windows.
- Fixed bug #1758912 Vista elevation to full administrator privileges.
- Fixed bug #1784341 Problems with spaces in paths under linux (Michael Piefel).
- Fixed bug where /bin was appended to path environment variable instead of jre_path/bin.

#### Changed license to BSD, MIT (26-01-2008)

- 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.

#### Changes in version 3.0.0-pre2 (29-10-2006)

- Enhanced GUI.
- Redesigned error reporting.
- Added custom error messages.
- Added support website feature.
- Added PWD and OLDPWD special variables and access to the registry.
- Runtime ini file extension changed to .l4j.ini, added comments (#).
- FR #1427811 Initial process priority.
- FR #1547339 Added VarFileInfo structure to Version Info (Stephan Laertz).
- FR #1584295 Updated documentation for --l4j-debug.
- Fixed <jarArgs/> and <args/> config conversion bug (found by Dafe Simonek).
- Fixed the Ant task exception reporting bug, added tmpdir and bindir attributes.
- Fixed bug #1563415 Problem with launching application when ini file exists (found by mojomax).
- Fixed bug #1527619 Console header wildcard expansion (found by erikjv).
- Fixed bug #1544167 NPE when dontwrap and only classpath given (found by Hendrik Schreiber).
- Fixed bug #1584264 Dropdown boxes get mixed up (found by Larsen).

#### News (17-10-2006)

- Launch4j Maven Plugin by Paul A. Jungwirth

#### Changes in version 3.0.0-pre1 (21-07-2006)

- Improved configuration file format and embedded Ant config.
- Launch executable jars, regular jars and class files.
- Added dynamic classpath resolution with environment variable references and wildcards.
- Added option to set environment variables before launching the application.
- New command line switches to change the compiled options.
- Improved debug information.
- Added support for XP visual style manifests.
- Added option to disable use of private JREs.
- Many small fixes and improvements...

#### Configuration file changes in 3.x

- Previous formats (1.x and 2.x) are supported.
- <headerType> accepts gui|console
- <jarArgs> was changed to <cmdLine>
- <launch4jConfig><headerObjects><file> was changed to <launch4jConfig><obj>
- <launch4jConfig><libs><file> was changed to <launch4jConfig><lib>
- <launch4jConfig><jre><args> was changed to multiple <launch4jConfig><jre><opt>

#### Embedded Ant configuration changes in 3.x

- <jre args="value"> was changed to <jre><opt>value</opt></jre>
- Now it's possible to define headerObjects, libs and classpath.

#### Changes in version 2.1.5 (21-07-2006)

- Changed the Java download site to http://java.com/download.
- Now it's possible to use absolute and relative paths to specify the bundled JRE.

#### Changes in version 2.1.4 (15-06-2006)

- Fixed bug #1503996 Only the first wrapper instance had a custom process name (found by Helge Böhme).

#### Changes in version 2.1.3 (31-05-2006)

- Fixed bug #1497453 Ant task doesn't support relative jar path with '..' (found by Aston, Pavel Moukhataev).
- Jar argument size limit is now 16KB.
- Environment variable size limit raised to 32KB.
- Allow to concatenate multiple env. variables in one property (Maria D.)
- Added launch4j.tmpdir property.

#### Changes in version 2.1.2 (03-04-2006)

- Important bugfix: insufficient command line buffer size was increased to 32KB (found by Sebastian Kopsan).
- Added runtime JVM options from an .ini file.
- Launch4j's bin directory is now configurable through launch4j.bindir system property.

#### Changes in version 2.1.1 (25-01-2006)

- Fixed bug #1402748. Validation error occurred when using an Ant task with embedded config and dontWrapJar option (found by Chris Nokleberg).

#### Changes in version 2.1.0 (10-01-2006)

- More features and smaller header: 18 KB!!
- Added launcher mode, you can choose whether or not to wrap the jar.
- Spanish translation of the website/docs and program messages (Patricio Martínez Ros).
- JRE's bin directory is appended to the Path environment variable (Ianiv Schweber).
- Added special variables EXEDIR and EXEFILE that hold the executable's directory and full path.
- Support for mapping environment variables to system properties.
- Added debug launching mode - various information is displayed before starting the Java application.
- Fixed min/max JRE version checking, previous versions allowed these to be equal (found by Ryan).
- Bug fixed. Quotes in jar/JVM arguments were handled incorrectly (found by Juan Alvarez Ferrando).
- A few other enhancements.

#### Changes in version 2.0.0 (31-10-2005)

- Launch4j for Mac OS X is available thanks to Peter Centgraf.
- Added support for custom headers.
- Fixed bug #1343908, command line arguments with spaces were handled incorrectly by the console header (found by Oliver Schaefer / Steve Alberty).
- Fixed stdin redirection bug (found by Timo Santasalo).

#### Changes in version 2.0 RC3 (13-08-2005) - final RC

- Correct handling of pathnames with spaces.
- Fixed the '%20' pathname bug.
- Fixed basedir bug (Richard Xing).
- Splash screen can be closed when the application window becomes visible with out specifying it's title (Martin Busik). Update your config file: <waitForTitle>title</waitForTitle> is now <waitForWindow>true</waitForWindow>.
- Fixed build.bat files in demo directories.

#### Changes in version 2.0 RC2 (21-06-2005)

- 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: <chdir>true</chdir> is now <chdir>.</chdir>.
- Bundled JRE path no longer depends on chdir function.
- 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!
- Removed static edge from splash screen (Serge Baranov).
- Program checks that the output file path doesn't contain spaces.
- Fixed a NPE bug caused by a missing maxVersion property (found by Morgan Schweers).
- Fixed relative JRE path bug (found by Nili_).
- Cleaned up the Builder class.
- Fixed Ant task NPE where the config was entirely defined in the build file (Josh Elsasser).

#### Changes in version 2.0 RC (07-06-2005)

- Added an Ant task for better build integration.
- Added 2.x documentation.
- Updated the demo configuration files.
- Fixed issues with relative paths in the configuration.
- Removed the '-1' option in console mode.
- Minor fixes.

#### Changes in version 2.0 beta2 (23-05-2005)

- # comments are recognized when importing 1.x cfg files.
- Added version information.
- Resource file is displayed when a resource error occurs.
- Fixed a bug found by Max, options on the first tab were always enabled.

#### Changes in version 2.0 beta1 (13-05-2005)

- Completely new, cross-platform wrapper - create windows executables on Linux.
- New .xml configuration file.
- Application icon with multiple resolutions and color depths.
- Swing GUI interface.
- Header compiled with MinGW port of gcc instead of VC++.

#### Changes in version 1.4.2 (12-03-2005)

- Fixed bug #1158143, stayAlive without a splash screen caused an infinite loop (found by Gregory Kotsaftis).

#### Changes in version 1.4.1 (04-03-2005)

- Fixed bug #1119040, buffer for reading config properties was too short (found by Tom Jensen and Neil).
- Added configurable splash timeout (FR #1102951).
- Added option to disable the error message on splash timeout (FR #1109159).
- Option to keep the gui launcher 'alive' after starting an application (FR #1124653).
- Removed version info.
- 'waitfor' property is now optional.

#### Changes in version 1.4.0 (26-01-2005)

- 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).
- Added support for console apps (FR #1050053).

#### Changes in version 1.3.1 (05-11-2004)

- Fixed a bug where explorer window was opened instead of launching the application when setProcName was set to false (found by Rob Jones).
- Fixed temporary launcher deletion bug.

#### Changes in version 1.3.0 (01-11-2004)

- Now you can configure launch4j to:
  - Use a bundled JRE.
  - Search for java, show an error message if the right version cannot be found and open the java download page.
  - And a feature you asked for: use bundled JRE, if that fails search for java and bring up the java download page on error.
- 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.
- errTitle property allows to set the title of the error message box.

#### Changes in version 1.2.1 (25-09-2004)

- Bugfix that allows launching from command line using short name (#1026514 / found by Zach Del)

#### Changes in version 1.2.0 (10-09-2004)

- Custom process name (myapp.lch4j.exe)
- 9 KB stub!
- Jar arguments
- Bugfix that allows launching from command line.
- Hide splash on javaw error.
- Easier configuration with case insensitive parameters + show unrecognized parameter.
- 12 KB demo application, 34 KB with splash screen.
- Configuration parameter 'args' changed to 'jvmArgs'