Printing the Current ClassPath from the Clojure Repl

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:

Published by

Julian Birch

Full time dad, does a bit of coding on the side.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s