Release 0.1.2
Fixed
- Correct ZIP/ZIP64 internal offsets after prepending the launcher script, fixing ZIP64 archives and strict readers (e.g. OpenJDK
java/jar) that follow absolute offsets rather than scanning for signatures (#1)
Installation
Maven
<dependency>
<groupId>me.bechberger</groupId>
<artifactId>execjar</artifactId>
<version>0.1.2</version>
</dependency>Direct Download
Download from the assets below:
execjar.jar- Executable JAR file (requires Java 11+)execjar- Standalone launcher script (Unix/Linux/macOS)
Usage:
# Using the script (recommended for Unix-like systems)
chmod +x execjar
./execjar myapp.jar
# Using the JAR directly
java -jar execjar.jar myapp.jar