Fork me on GitHub
#leiningen
<
2017-12-01
>
derpocious18:12:43

hey guys, I'm having a very tough time installing leiningen properly on windows 7.

derpocious18:12:12

I do "lein.bat self-install" and everything seems like it works fine.

derpocious18:12:16

But then every command beginning with "lein" returns this: Error: Could not find or load main class clojure.main

derpocious18:12:44

Any advice for how I can get it working?

shaun-mahood20:12:33

@derpocious Did you use the leiningen installer for windows?

derpocious20:12:03

@shaun-mahood hi, I tried using the installer for windows first, but that didn't work either. 😕

shaun-mahood20:12:10

Hmm.. any error messages on the install? I can't remember if I've ever had it installed on Win7 but I think I did at one point.

derpocious20:12:29

After it finishes, I run lein and get this:

derpocious20:12:33

C:\Users\lynchj8\lein; can not be found.
You can try running "lein self-install"
or change LEIN_JAR environment variable
or edit lein.bat to set appropriate LEIN_JAR path.