~ is platform specific, and doesn't play well with WORA

On Jan 13, 1:46 am, David Nolen <dnolen.li...@gmail.com> wrote:
> Erg. Turns out I was bitten by the Java classpath again. The path must be
> absolute, no ~ allowed.
>
> Thanks all.
>
> On Tue, Jan 12, 2010 at 9:58 PM, aria42 <ari...@gmail.com> wrote:
> > I was seeing this error too and I reckoned it was because my
> > clojure.contrib was not compatible with clojure core. I think if
> > you're using
> > 1.2 master of clojure you need 1.1 master of contrib. Is that right?
>
> > On Jan 12, 6:41 pm, David Nolen <dnolen.li...@gmail.com> wrote:
> > > Hullo,
>
> > > I'm trying to run the REPL from the command line. I note that when I
> > include
> > > jars in the classpath, including clojure libraries works fine (via use
> > for
> > > example). However when adding libraries of Clojure source directories to
> > the
> > > classpath I get a very strange error:
>
> > > user=> (use 'lancet)
> > > java.lang.NoSuchMethodError: clojure.lang.RestFn.<init>(I)V
> > > (NO_SOURCE_FILE:0)
>
> > > I'm pretty sure my class path is OK.
>
> > > java -cp
>
> > ~/clojure/clojure/clojure.jar:~/clojure/clojure-contrib/clojure-contrib.jar:src:~/development/clojure/libs/lancet/lib/*:~/development/clojure/libs/lancet
> > > clojure.main
>
> > > Thanks,
> > > David
>
> > --
> > 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
> > Note that posts from new members are moderated - please be patient with
> > your first post.
> > To unsubscribe from this group, send email to
> > clojure+unsubscr...@googlegroups.com<clojure%2bunsubscr...@googlegroups.com>
> > For more options, visit this group at
> >http://groups.google.com/group/clojure?hl=en
-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
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