Oups, I stopped using windows for so long that I forgot about the
semi-colon thing :)))

That frees a lot of memory for other stuff...

Luc

On Tue, 2010-05-11 at 08:38 +0200, Michael Wood wrote:

> On 11 May 2010 03:30, Luc Préfontaine <lprefonta...@softaddicts.ca> wrote:
> >
> > Hi,
> >
> > The trick is to get contrib on the class path of java so it can find the 
> > content of the library.
> > The class path defines were Java will search for the components (classes in 
> > Java) to load while running.
> > Clojure code is compiled on the fly and ends up as a being loaded as a Java 
> > class and may be present
> > in libraries either as .clj files or as pre-compiled Java classes (.class 
> > files).
> >
> > So:
> >
> > java -cp clojure.jar:clojure-contrib.jar -server clojure.main
> >
> > clojure.main being the main program called (in this case it starts a REPL) 
> > and -cp (ClassPath) being the list of librairies you want to
> > use.
> >
> > The libraries are colon delimited and I think it's the same on both Windows 
> > and u*x.
> 
> No, on Windows you have to use the semi-colon (;) because the paths
> can include colons (e.g. C:\path\to\something.jar).
> 
> Other than that everything's the same.
> 
> -- 
> Michael Wood <esiot...@gmail.com>
> 

-- 
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