cljsc.bat emit FileNotFoundException when it compile samples of the ClojureScript project in windows like below.
Exception in thread "main" java.io.FileNotFoundException: Could not locate cljs/closure__init.class
or cljs/closure.clj on classpath:
It is caused by lack of a backslash in the end of path of the system environment variable, %CLOJURESCRIPT_HOME% set by a user.
In the case CLASSPATH is set to "C:<BR/>clojure\clojurescriptsrc\clj;C:<BR/>clojure\clojurescriptsrc\cljs" and this make it impossible for javac to find cljs/clojure.clj file.
So it can be solved by adding a backslash to the path of %CLOJURESCRIPT_HOME%.
I attached the patched file, "cljsc-path.bat"