Skip to content

converts a standalone jar file to a standalone executable

License

Notifications You must be signed in to change notification settings

dpowell2017/exec-jar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

converts a standalone jar file to a standalone executable

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 51.8%
  • Shell 48.2%