Printing the Current ClassPath from the Clojure Repl

Sunday, June 20, 2010 9:51 AM

I'm still wrestling with getting something acceptable running Clojure under Windows, however you may find the following useful in your own travels:

(->> (java.lang.System/getProperty "java.class.path") (re-seq #"[^;]+") (map println) dorun)
Technorati Tags:
Comments
No comments posted yet.
Something to add?

Talking sense? Talking rubbish? Something I'm missing? Let me know!

Fields denoted with a "*" are required.

 (will not be displayed)

 
Please add 3 and 4 and type the answer here:

Preview Your Comment