I\'ve installed Geany on my Linux Mint machine and I wrote some simple code. Just a small hello world to get started with the language.
Now I\'d like to run it and see w
You can run script with following command:
java -cp clojure.jar clojure.main file.clj
but it's better to use leiningen, especially when you'll start to add dependencies to your project. lein provides number of commands to run your code (with all necessary dependencies), pack code into archive with lein jar
, or create complete, independent archives with lein uberjar
that you can run with:
java -jar your_app.jar
command
P.S. You can read how to use lein
in following article - it describes base tasks & configurations