I recently installed leiningen on some Windows machines, with success, although there was a little bit of fiddling. I used the .bat approach.
Did you manage to note the error message that the .bat generated when it crashed? That would be the first step (i.e. run it from a command prompt window so the error message lingers long enough to read). In my case, the error message related to wget, and after I installed that (I used cygwin, I believe, but you could use a standalone version as well, I'd imagine) `lein self-install` worked. I just tried the above on a VM (cygwin with wget, adjust path so cygwin binaries are available from command prompt, lein self-install) and it worked for me. Hope that helps, Jony On Saturday, 25 October 2014 02:44:42 UTC+1, Geoff Caplan wrote: > > Hi > > Wanting to get Clojure running on a Win 7 machine with no diskspace for > dual boot. It's been a demoralising experience. > > I tried the Win installer linked from the Leiningen website. It failed to > download the Leiningen 1 jar - the shell simply flashed open and crashed. > > Dug around the git site and found a recent .bat file that's supposed to > work with the latest Leiningen 2. Again, the shell flashed and crashed. > > Then manually downloaded the latest Leiningen 2 preview. Again running > lein simply flashes and crashes the shell. > > There's been a recent open issue on Windows installation but it's supposed > to be fixed. > > The lein.bat file is on my path and has exec permissions. I have Java 8 > SDK installed and healthy. > > Not sure where I go from here - any advice much appreciated. > > I'm dithering between Clojure and Haskell for my next project. The Haskell > community provide a well-maintained batteries-included Windows install for > GHCi - I was in the Repl 60 seconds after visiting their site. I've been > struggling with Leiningen for an hour and getting nowhere. > > It seems a great pity that the Clojure community seem to be ignoring those > of us who are stuck with Windows - it must be having a negative effect on > the uptake of the language. I see that this has been an issue for years, > but hasn't been addressed. I'm more drawn to Clojure than to Haskell, but > if I can't get it running I'll be forced to go elsewhere. Please help. > -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.