On May 5, 1:20 pm, Leotis buchanan <leotisbucha...@gmail.com> wrote:
> Let say for example i decide to use the icanter 
> library(http://wiki.github.com/liebke/incanter), where should i place the 
> icanter
> files so that clojure can see them.

You can put them anywhere, but the top-level directory must be on the
Java classpath.  For example, to load the namespace "org.example.lib",
the directory that _contains_ "org/example/lib.clj" must be on the
classpath.

When you're running Java at the command line, the classpath is set
with the "-cp" argument to "java".  IDEs have their own methods for
setting the classpath; check the docs.

You can check the classpath at the REPL like this:
(System/getProperty "java.class.path")

-Stuart Sierra
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to