I can start Clojure REPL from directory when it was unpacked (C:\Program Files\clojure-1.6.0) by this command in command line:
java -cp clojure-1.6.0.jar clojure.main
but anytime I want to start REPL I have to enter directory C:\Program Files\clojure-1.6.0, so I create bat file with next content:
java -cp C:\Program Files\clojure-1.6.0\clojure-1.6.0.jar clojure.main
and put it to directory wich includes in PATH variable. I expect that it will run Clojure REPL, but instead of it I get an error
Error: Could not find or load main class Files\clojure-1.6.0\clojure-1.6.0.jar
And I don't find in internet how to fix it. Please help.
mvn exec:java -Dexec.mainClass=clojure.main
, in a project withorg.clojure:clojure
as a dependency. – jpaugh