For a long time I’ve wanted a simple, double-clickable executable for Incanter, and now thanks to Alan Dipert’s swingrepl library I have it.
I have made an executable jar file, called incanter.jar, that launches a swingrepl, that includes Incanter and all of its dependencies, when double-clicked or started with the following command
java -jar incanter.jar
Note: Make sure to save incanter.jar with the .jar extension to ensure it executes correctly.
I have also used Apple’s Jar Bundler and SkoobySoft’s DMG Packager to create a Mac OS X executable that’s downloadable as a dmg file, Incanter.dmg.
Finally, I used Launch4j to create the Windows executable file,
To build incanter.jar from source, use
script/package in the Incanter distribution on Github, or just use
lein uberjar (lein will call the file incanter-standalone.jar, and will create a non-executable jar called incanter.jar).