Hi,

the self-install worked ok, and I checked that the jar is present in:
C:\Documents and
Settings\Administrator\.lein\self-installs\leiningen-1.6.1-standalone.jar

But the "lein deps" for a project gets stuck:

D:\src\Clojure\test2>lein deps
Exception in thread "main" java.lang.NoClassDefFoundError:
Files\Java\jre6\lib\e
xt\QTJava/zip;";;test;src;C:\Documents and
Settings\Administrator\/lein\self-ins
talls\leiningen-1/6/1-standalone/jar
Caused by: java.lang.ClassNotFoundException:
Files\Java\jre6\lib\ext\QTJava.zip;
";;test;src;C:\Documents and
Settings\Administrator\.lein\self-installs\leininge
n-1.6.1-standalone.jar
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class:
Files\Java\jre6\lib\ext\QTJava.zip;";;test;src;C:
\Documents and
Settings\Administrator\.lein\self-installs\leiningen-1.6.1-standa
lone.jar.  Program will exit.

It seems the classpath is not being constructed correctly; instead of dots
there are slashes and also a mix of back- and forward slashes.

Before the invocation of lein the classpath is:
CLASSPATH=.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip

Any ideas what is (or what I am doing) wrong?

Thx,
   Arie

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