exe4j 更新日志

希望在更新时收到通知吗?通过 RSS 或 电子邮件 订阅

版本 10.1
2026-06-25

新功能:

  • Added a -jvm=​/path/​to/​jreBundle VM parameter for generated launchers to set the used JRE explicitly. This is supported in .vmoptions files and with -J-jvm=​... as command line argument.
  • Schema for exe4j project files
  • Added support for the new main methods from JEP 512
版本 10.0.1
2025-09-12

新功能:

  • When searching for Adoptium, Azul and Microsoft JDKs, also check HKEY_​CURRENT_​USER in the Windows registry

错误修复:

  • Regression in 10.​0: The Ant task was broken
版本 10.0
2025-05-29

新功能:

  • Added a "Bundle launcher runtime" option on the "Java invocation" screen. If you deselect this option, no files will be extracted at runtime, but you then have to distribute the runtime library exe4jlib.​jar and add it to the classpath or module path.
  • Support new Windows 10 DPI awareness settings in the executable manifest. This fixes problems when moving windows between monitors with different DPI settings.
  • The startup error dialog now has a better icon and shows in the native look and feel
  • If the environment variable EXE4J_​LICENSE_​KEY is set, its value is used as the license key. This is useful for CI pipelines.

错误修复:

  • There was maximum length limit for the classpath that has been removed in this release
  • Fixed issue with very long lines in .vmoptions file
  • Adoptium JRE installations were not detected
版本 9.0
2023-01-17

新功能:

  • Support for creating ARM64 executables on the "Executable info → Architecture" step
  • Optionally global single instance mode on the new "Executable info → Single instance mode" step
  • The per-user single instance mode now optionally covers all active sessions
  • Support for finding Microsoft, Zulu and Temurin JRE installations
  • Show number of configured version-specific VM parameter entries in the "Java invocation" step

错误修复:

  • Startup notifications that occurred before a listener was registered were not delivered in order
  • If dark mode was used in macOS 13 (Ventura)​, the exe4j wizard would hang on startup
版本 8.0.1
2022-02-18

新功能:

  • Support dark mode for the exe4j wizard

错误修复:

  • Regression in exe4j 8.​0: bin/​ant.​jar was missing
  • Changed the way command line parameters are split to behave like java.​exe
  • Fixed broken Java version check in some situations
版本 8.0
2021-03-11

新功能:

  • Added support for non-OpenJDK Java launchers
  • Added a --fail-on-warning command line option for the compiler as well as corresponding properties for Gradle and Ant tasks
  • 64-bit install4j launchers now prefer the server JVM on Windows. This fixes problems with recent AdoptOpenJDK Java 11 releases that contain a client VM.
  • Using ~ for the home directory is now supported for the redirection files
  • The minimum runtime Java version is now 1.​8, the exe4j compiler and wizard need a Java 11 JRE

错误修复:

  • Could not use absolute locations for the JRE search sequence when the build was not performed on Windows
  • An empty JRE search sequence was reverted to the default after opening the project again
版本 7.0
2020-01-09

新功能:

  • Support for version ranges in version-specific VM options for launchers
  • Less verbose and more human-readable project file format that does not write default settings

错误修复:

  • For OSGI applications, the method to hide the splash screen could not work due to classloader issues
  • Using archives in class and resource paths with a wildcard in the file name did not work if the path was absolute
版本 6.0.2
2019-01-28

新功能:

  • Support for OpenJ9 VMs
  • -J-splash:​none can be passed as an argument to disable the splash screen

错误修复:

  • If the environment variable _JAVA_​OPTIONS was set, the version check for Java 9+ did not work on Windows
  • The Java version check did not work for some newer OpenJDKs
  • Launcher for the exe4j wizard UI did not work on macOS
版本 6.0.1
2018-08-24

新功能:

  • Removed empty class path warning
  • Uncaught exceptions in exe4j wizard are now written to %TEMP%\​exe4j_​error.​log
  • Support for running the exe4j wizard and its command line tools with Java 10 and Java 11

错误修复:

  • Regression in exe4j 6.​0: File and directory chooser buttons in class path configuration did not work anymore
版本 6.0
2017-07-07

新功能:

  • Support for Java 9
  • Executables can define a Java 9 module path in addition to the class path
  • Support for the new multi-resolution features in Java 9, including multi-resolution splash screen support
  • In the "Manifest options" step of the wizard, the new default "Java 9+" makes executables DPI aware if Java 9+ is used as a minimum version
  • Added a "/​restart" parameter for service executables

错误修复:

  • If a JRE could not be loaded, more than one error message was shown in sequence
  • Extra arguments were not passed correctly when starting a service executable with the /run parameter
  • services installed with /install are now always non-interactive
版本 5.1
2016-02-19

新功能:

  • Java version-specific VM parameters for launchers
  • Service launchers: Print options when invoked with the argument /?
  • Command line compiler: Support --license flag together with other options. Added "license" attribute to the ant task.

错误修复:

  • exe4jc -L [license key]" returned successfully without an error message even if the config file could not be saved
  • For wildcard classpath entries of type "archive", the shortest available match is now used
  • The current directory was appended to the end of the class path
版本 5.0.1
2015-02-09

错误修复:

  • Fixed crash on startup for very large classpaths
  • ant.​jar file was missing in the distribution since 5.​0
  • License keys for install4j 6.​x were not accepted in the wizard
版本 5.0
2014-11-03

新功能:

  • Generated launchers no longer poll the file system for the internal single instance and splash screen communications
  • Splash screen API now works for the Java splash screen as well
  • Added "/​run" and "/​run-redirect" parameter for services to start a service in command line mode from a terminal
  • Support DPI scaling for with a setting on the "Executable info → Windows manifest options step" of the launcher wizard
  • Native file choosers and alerts in the exe4j wizard
  • Generated launchers now require at least Java 6, the exe4j IDE now requires at least Java 7
版本 4.6
2014-06-07

新功能:

  • exe4j now uses wide characters internally, fixing several problems with characters in directory names from outside the default code page
  • Expand launcher variables and environment variables in working directory
  • exe4j wizard can now run with Java 8
版本 4.5.2
2013-01-15

新功能:

  • The exe4j wizard now uses the native look and feel
版本 4.5.1
2012-11-28

错误修复:

  • Fixed problem with Windows 8 certification
  • Do not force Java 6 locale behavior for Java 7
  • exe4j license dialog showed invalid evaluation option
版本 4.5
2012-09-21

新功能:

  • Generated executables now pass Windows 8 certification

错误修复:

  • JAR in EXE service did not delete all temp files
  • Unbalanced quotes for arguments were not handled correctly
  • Fixed a race condition with the exe4j splash screen
版本 4.4.6
2012-06-30

错误修复:

  • Several command line options were broken (regression in 4.​4.5)
  • Javadoc formatting of the API documentation was broken (regression in 4.​4.5)
版本 4.4.5
2012-06-18

新功能:

  • Java 7 can now be used to run the exe4j wizard and the exe4j command line compiler

错误修复:

  • Temporary directory creation is now more robust
  • Remove temporary files if no JRE can be found
版本 4.4.4
2012-01-12

错误修复:

  • Fixed locale regressions in 4.​4.3
版本 4.4.3
2011-12-08

新功能:

  • Add a compatibility manifest for Windows 7 to generated executables

错误修复:

  • Service shutdown did not work correctly when user code redirected System.​in
  • Single instance mode for launchers was broken if there were spaces in the name of the executable
  • Some operations in SWT applications could be slow due an application manifest entry
版本 4.4.2
2011-03-21

新功能:

  • Make executable name available for JVM discovery, for example, in VisualVM

错误修复:

  • Language selection was ignored, the language for error messages was always English
  • In the fixed VM parameters, a "\​n" was replaced with a newline character
版本 4.4.1
2010-10-22

新功能:

  • Allow a * placeholder in classpath archive entries to support frequently changing version numbers of JAR files like in maven projects

错误修复:

  • Service arguments embedded in the registered binary path did not work correctly
  • Fixed a deadlock for service launchers
版本 4.4
2010-06-16

新功能:

  • Added a /create-i4j-log command line parameter for generated Windows executable to easily create and show a native debug log file

错误修复:

  • Fixed problems with service shutdown
版本 4.3.2
2010-06-08

新功能:

  • Support for OpenJDK on Windows

错误修复:

  • Fixed internal error 7 when a lot of processes were started at the same time
  • Environment variables were not replaced in directory entries of the JRE search sequence
  • Set java.​library.​path explicitly to fix problems on some Windows Server 2003 machines
版本 4.3.1
2010-02-11

错误修复:

  • Native libraries screen: Entering the variable %EXE4J_​TEMPDIR% was not possible
  • Fixed hanging processes in single instance mode when parent process exits immediately and many processes were started
版本 4.3
2009-09-17

新功能:

  • Added option in "Executable info → Redirection step" of the wizard to append output to existing redirection files
  • Command line argument -x / --require-license for exe4j command line compiler and attribute 'requirelicense' of exe4j ant task to avoid producing evaluation executables
  • Service launchers: Added the option non-interactive after /install to register services that should not be allowed to interact with the desktop.

错误修复:

  • A listener registered with com.​exe4j.​Controller#​registerStartupListener was not called reliably for a rapid succession of invocations
  • Added a workaround for an undefined TMP environment variable
版本 4.2
2009-01-20

新功能:

  • Support for including other .vmoptions files with the new -include-options [path to .vmoptions file] VM parameter. This works in the fixed VM parameters as well as the .vmoptions files.
  • GUI launchers: Added an optionally recognized -console parameter that connects stderr, stdout and stdin to the console from which the launcher was invoked
  • Redirection files: Absolute paths and environment variables are now supported

错误修复:

  • Using a splash screen image in PNG format with an alpha channel lead to a compilation error
  • Running the command line compiler with a relative path name for the config file did not correctly resolve resources
版本 4.1.1
2008-10-30

错误修复:

  • Workaround for erroneous virus definition in CA Anti-Virus 2009
版本 4.1
2008-04-03

新功能:

  • Support for Java 6 splash screens
  • Launchers can now request heap sizes (-Xmx values) of the same maximum size as the default java launchers if the built-in splash screen is not used. Previously the maximum size was reduced due to fragmentation of the address space.
  • Improved several error messages in the launcher

错误修复:

  • Temporary files created by Windows launchers are now deleted immediately after exit rather than on the next launch
版本 4.0.3
2007-03-01

新功能:

  • Support environment variables in the names of redirection files
版本 4.0.2
2006-12-20

错误修复:

  • Executing a service launcher with the /start argument on Windows did not return with an error code if it failed to start the service
  • arguments with quotes in the argument like arg=​"1 2" were not supported
版本 4.0.1
2006-10-30

错误修复:

  • Fixed error messages
  • Fixed a SecurityManager issue with shutting down services
  • Fixed a library dependency problem with Java 6 on older Windows versions
版本 4.0
2006-09-29

新功能:

  • Use long path names on Windows if the current code page supports all characters in the path name
  • Display splash screen before JAR files are unpacked for instant feedback
  • Service executables do not require anymore that the main method returns after the initialization
  • Configurable execution level for Windows Vista
  • Option for generating 64-bit executables that work with 64-bit JREs
版本 3.1.4
2006-09-24

错误修复:

  • Increased timeout when checking for JRE versions
  • Fix for very long classpaths
  • Changed stack settings to allow huge numbers of concurrent threads
版本 3.1.3
2006-04-24

新功能:

  • Support for bundled BEA JRockit JVMs (no registry detection)
  • Java 1.​6 beta is now recognized as a beta release

错误修复:

  • Larger timeout when checking for JRE versions fixes problems with JREs on slow network drives
  • Fixed a crash with the "JAR in EXE" mode
  • More robust deletion of temporary files
版本 3.1.2
2006-01-11

错误修复:

  • service installation left a temporary file
  • Native library step did not work correctly in exe4j wizard
版本 3.1.1
2005-11-22

错误修复:

  • could not start from CD with JRE in relative location on Windows 98/​ME
  • rare ClassNotFoundException when launcher is executed quickly multiple times
  • single-instance mode without a notification handler causes the third and subsequent processes to stay alive
版本 3.1
2005-07-21

新功能:

  • option to use only full JDKs and no JREs
  • *.​vmoptions file is read and each line is added as a separate VM parameter (previously *.​exe.​vmoptions)
  • Java 1.​5 early access releases are now recognized as beta releases
  • services on Windows can now interact with the desktop
  • splash screen now works correctly with SWT apps
  • reload splash screen image when modification time changes

错误修复:

  • no save dialog was shown on open or reopen
  • working directory was always the first entry in classpath
版本 3.0.2
2005-01-21

新功能:

  • setting the environment variable EXE4J_​LOG=​yes will create a log file for the JRE search sequence
  • command line switch for exe4jc to enter a license key without the GUI

错误修复:

  • multi-byte character fixes
版本 3.0.1
2004-11-22

新功能:

  • full support for Unicode

错误修复:

  • fixed startup notification issues when opening multiple files concurrently
版本 3.0
2004-10-18

新功能:

  • new API for notification of multiple startups in single instance mode
  • creation of redirection files on demand
  • possibility to redirect stderr and stdout to the same file
  • new process architecture: the started process of an exe4j executable remains the same during the entire execution
  • improved startup error notification
  • possibility to use environment variables in classpath entries
  • full support for UNC path names
  • possibility to set the description for services
  • it is now an error if the path for redirection log files does not exist
  • several usability improvements in the exe4j wizard

错误修复:

  • in some cases, entering multiple native library paths did not work correctly
  • stdout and stderr file names were always converted to lower case
版本 2.3
2004-08-12

新功能:

  • option whether to use beta JREs on Windows or not
  • in the JRE step, you can now specify patch levels like 1.​4.1_​01

错误修复:

  • the main class selector in the Java invocations step did not work when the distribution source directory was relative
  • the .vmoptions file did not work for service executables if the executable had a long filename
  • the command line compiler was not included in the Mac OS X distribution
  • the ant task did not work on Mac OS X