On Nov 26, 9:17 pm, "Mark Volkmann" <[EMAIL PROTECTED]> wrote:
> This is probably more of a Java question than a Clojure question. I'm
> thinking most people will want clojure-contrib in their classpath. I
> tried this using SVN 1127 without success.
>
> java -cp clojure-contrib.jar -jar clojure.jar
> user=> (require 'clojure.contrib.str_utils)
>
> This gives me a FileNotFoundException. What's the correct way to start
> the REPL and have clojure-contrib.jar in the classpath?
>
> --
That's an important point - Steve's examples should be changed not to
use the -jar option, as it negates any classpath other than found in
the jar. As convenient as it may seem, it's a bad fit for a language
startup where you will most often need to refer to external libraries
(vs a stand-alone pre-packaged app).
You can start instead with:
java -cp clojure.jar:any-other.jars clojure.main any-args
Rich
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---