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

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

actionscript 3 - Flex: moving a point with rotation doesnt change the point XY? -

ms access - C# - Using OleDbParameter on table name -