Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 742 Bytes

README.md

File metadata and controls

44 lines (29 loc) · 742 Bytes

exec-jar converts a standalone jar file to a standalone executable via combining a startup script with the jar file.

This works because java combined.jar will ignore the startup script at the beginning.

Install

With make

; make

Files will be installed to /usr/local/bin. If you want to install other place, edit config.mk before running make.

Makefile is compatible with both GNU make and BSD make.

With basher

; basher install weakish/gister

Manually

Copy exec-jar and preceed-jar.sh to PATH:

  • Both must be in the same directory.
  • Do not rename preceed-jar.sh to preceed-jar.

Usage

exec-jar hello.jar # Output file: hello

License

0BSD