Packaging Clojure app for Mac
Code
$ lein ring uberjar
$ jpackage --name injee --icon /Users/karthik/Downloads/injee_perfect_square.icns --input ./ --main-jar injee-0.2.0.jarAnd I found it in my terminal’s history, this is how you try to create native executable when you GraalVM JDK on your system:
$ native-image -jar injee-ring-0.2.0-standalone.jarAnd it didn’t work out for me as it said my app could be run only if there is JDK already installed. Which defeats the point of stand alone application.
Notes
- https://docs.oracle.com/en/java/javase/17/docs/specs/man/jpackage.html
- https://github.com/libgdx/packr
- https://injee.codeberg.page/
- https://www.graalvm.org/
- https://sdkman.io/
- https://cloudconvert.com/
- https://www.gimp.org/