technomancy/leiningen — Issue #389: Trouble after install
Author: ExMateria
Created: 2012-01-31 00:06:18+00:00
State: open

I'm a noob so feel free to critique anything I say or do in presenting this. I like to think I have thick skin.

So I figured out finally how to install leiningen on my win7 machine using wget and the "lein self-install" command (that took me a while--I'm really new at most all of this) but when I went to try the tutorial I get all sorts of problems. I tried adding to the system's classpath as I guessed was needed by the exception that was thrown but then I ran across the idea that it might be referring to a different classpath.

Anyway... here's what I get when I try to create the new project as the tutorial directs--

------

C:\Users\Squash>lein new myproject
Exception in thread "main" java.lang.RuntimeException: java.io.FileNotFoundExcep
tion: Could not locate leiningen/core__init.class or leiningen/core.clj on class
path:
at clojure.lang.Util.runtimeException(Util.java:165)
at clojure.lang.Compiler.eval(Compiler.java:6476)
at clojure.lang.Compiler.eval(Compiler.java:6431)
at clojure.core$eval.invoke(core.clj:2795)
at clojure.main$eval_opt.invoke(main.clj:296)
at clojure.main$initialize.invoke(main.clj:315)
at clojure.main$script_opt.invoke(main.clj:339)
at clojure.main$main.doInvoke(main.clj:426)
at clojure.lang.RestFn.invoke(RestFn.java:482)
at clojure.lang.Var.invoke(Var.java:417)
at clojure.lang.AFn.applyToHelper(AFn.java:178)
at clojure.lang.Var.applyTo(Var.java:518)
at clojure.main.main(main.java:37)
Caused by: java.io.FileNotFoundException: Could not locate leiningen/core__init.
class or leiningen/core.clj on classpath:
at clojure.lang.RT.load(RT.java:430)
at clojure.lang.RT.load(RT.java:398)
at clojure.core$load$fn__4610.invoke(core.clj:5386)
at clojure.core$load.doInvoke(core.clj:5385)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at clojure.core$load_one.invoke(core.clj:5200)
at clojure.core$load_lib.doInvoke(core.clj:5237)
at clojure.lang.RestFn.applyTo(RestFn.java:142)
at clojure.core$apply.invoke(core.clj:602)
at clojure.core$load_libs.doInvoke(core.clj:5271)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.core$apply.invoke(core.clj:604)
at clojure.core$use.doInvoke(core.clj:5363)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at user$eval1.invoke(NO_SOURCE_FILE:1)
at clojure.lang.Compiler.eval(Compiler.java:6465)
... 11 more

--------------

Any ideas on what I'm doing wrong or what I can do to fix it?