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

c# - Move local mssql database to webhosted MYSQL -

java - How to pass parameters between Request-Scoped Controllers? -

string - what is the difference between "some" == "some\0" and strcmp("some","some\0") in c++? -