Cross-platform Java executable wrapper for creating lightweight Windows native EXEs. Provides advanced JRE search, application startup configuration and better user experience.

Features

  • 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 and Mac OS X.
  • Also creates launchers for jars and class files without wrapping
  • Supports executable jars and dynamic classpath resolution using environment variables and wildcards.
  • Doesn't extract the jar from the executable.
  • Native pre-JRE splash screen in BMP format shown until the Java application starts.
  • Initial priority and single application instance features.
  • Works with a bundled JRE or searches for newest Sun or IBM JRE / JDK in given version range and type (64-bit or 32-bit).
  • Supports GUI and console apps.
  • Supports Windows application manifests.
  • Allows to set the initial/max heap size also dynamically in percent of free memory.
  • JVM options: set system properties, tweak the garbage collection...
  • Runtime JVM options from an .l4j.ini file.
  • Runtime command line switches to change the compiled options.
  • Access to environment variables, the registry and executable file path through system properties.
  • Set environment variables.
  • Ability to restart the application based on exit code.
  • Custom version information shown by Windows Explorer.
  • Digital signing of the executable with sign4j.
  • Supports Windows Security Features of the Windows 8 certification kit.
  • GUI and command line interface.
  • Build integration through an Ant task and a Maven Plugin.
  • Lightweight: 35 KB!
  • The wrapped program works on Windows only, but Launch4j works on Windows, Linux and Mac OS X.

Project Samples

Project Activity

See All Activity >

License

BSD License, MIT License

Follow Launch4j Executable Wrapper

Launch4j Executable Wrapper Web Site

nel_h2
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free

Additional Project Details

Operating Systems

Linux, Mac, Solaris, Windows

Languages

English

Intended Audience

Developers, End Users/Desktop

User Interface

Command-line, Java Swing

Programming Language

C, Java

Related Categories

C Build Tools, C Software Distribution Software, Java Build Tools, Java Software Distribution Software

Registered

2003-11-27