I'm just larning Clojure and have been able to figure out everything
so far via trial-and-error. However, I cannot for the LIFE of me
figure out how to compile anything. I have tried every possible setup
I can think of and I all I have is a sneaking suspicion that its a
Vista issue.
Below I hav
1 am, Mark Volkmann wrote:
> On Tue, Mar 3, 2009 at 12:58 AM, zodoz wrote:
>
> > I'm just larning Clojure and have been able to figure out everything
> > so far via trial-and-error. However, I cannot for the LIFE of me
> > figure out how to compile anything. I have tr
nt PETIT wrote:
> You cannot have both a classpath full of jars and directories (via the -cp
> option) and run directly from a jar.
>
> Try java -classpath .;src;classes;clojure.jar clojure.main" instead
>
> (http://clojure.org/repl_and_main)
>
> 2009/3/3 zodoz
>
I found the solution (though I'm still in the process of understanding
why it works):
java -cp clojure.jar;.\src;.\classes clojure.lang.Repl
user=> (compile 'test.test)
On Mar 3, 10:56 am, zodoz wrote:
> Same thing. I even tried putting (compile 'test.test) in the src/