Skip to content

Latest commit

 

History

History
75 lines (55 loc) · 2.51 KB

README.md

File metadata and controls

75 lines (55 loc) · 2.51 KB

LAUNCH4J ~ JDK 17 EDITION

It's Launch4j v3.50, but modified to be build and to run with Java 17 instead of Java 8.

Summary

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, and a Java download page in case the appropriate JRE cannot be found.

How to compile

  • Windows:

    1. Download Apache Ant;
    2. Extract files (if you use 7-Zip or WinRAR, select the "Extract Here" option);
    3. Rename extracted folder to ant;
    4. Move ant folder to project's root folder;
    5. Access Liberica JDK 17 downloads page;
    6. Select the Full JDK package according to your system architecture, download the ZIP version;
    7. Extract files (select the "Extract Here" option as well);
    8. Rename extracted folder to jdk;
    9. Move jdk folder to project's root folder;
    10. Double click on build.bat.
  • Linux:

Currently no support for Linux.
Working in progress.

  • MacOSX:

No support for MacOS.
Unfortunately, you need a Mac to compile software for Mac. Since I don't have one, I won't be able to support this platform. Sorry about that... :(

NOTES

  • Maven build script is NOT working. Currently looking for a solution...

  • Demos / Samples projects NOT tested yet.

  • Currently, main application was only tested on Windows 10 & 11.

How to run

  • Windows:
    Assuming you have Java 17 JDK/JRE installed on your system, either locally or globally, it can be executed with GUI or with command line.

    • GUI:
      Double click on run.bat.

    • Command line (with parameters):
      Open an cmd window, access project root folder and type:

     call run.bat path/to/build/script.xml
    

    With "path/to/build/script.xml" being the full path to an Launch4j's build project.

  • Linux:

Currently not available...

  • MacOSX:

Not available...

Credits