Simple encapsulation of a .jar to make it an .app for macOS
- Download release: JarBundler.app.zip
- Unzip
- Right click on
JarBundler.app
, selectShow Package Contents
- Goto
/Contents/Resources
- Drop your
.jar
file here - Rename it to
src.jar
You can set
let DEBUG = true
to see output and error log from java
- Open the project
- Select target
JarBundler
in the project - Select Build Phases
- In
Copy Bundle Resources
, click+
, and add your.jar
file - Rename
.jar
file tosrc.jar
- Compile