windows - How to Execute Clojure File? -



windows - How to Execute Clojure File? -

how can run clojure file/script, uses clojure-contrib, command line? (winodws) machine has clojure-1.2.1.jar , clojure-contrib-1.2.0.jar on classpath. note: can start repl with: java clojure.mainand can execute *.clj files not utilize clojure-contrib with: java clojure.main file-name.clj

you need add together clojure-contrib jar classpath. since using windows, add together multiple classpaths separating entries semicolons.

java -cp clojure-1.2.1.jar;clojure-contrib-1.2.0.jar clojure.main file-name.clj

the above code should enable run file-name.clj script depends on clojure-contrib.

windows clojure clojure-contrib

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -