I\'m feeling slightly silly here, but I can\'t get Clojure Hello World to compile.
Directory structure:
hello-world/
clojure-1.1.0.jar
build/
To run clojure file
clojure filename.clj
Why you don't use Leiningen? It's much easier to use it, than compile code manually. You can use my article about it as introduction...
Got it, there's a fourth requirement:
(System/getProperty "user.dir")
, So this works:
user=> (set! *compile-path* "build/classes")
"build/classes"
user=> (compile 'test.hello)
test.hello