On 15 Lut, 20:50, Brian Wolf <[email protected]> wrote: > Rob Wolfe wrote: > > On 15 Lut, 07:42, Brian Wolf <[email protected]> wrote: > > >> Hi, > > >> I am trying to run (http://bit.ly/82zo95<http://bit.ly/82zo95> ) > >> powershell script for leiningen install under windows, but it says it > >> can't find file, which file it doesn't say. I was wondering what > >> dependencies leiningen has? Do I need maven pre- installed (I don't see > >> anything mentioned on the website) > > > I don't know this powershell script, but you can use this batch file: > >http://github.com/technomancy/leiningen/blob/master/bin/lein.bat > > > There is no "self-install" functionality in this script so far, > > but you can download needed jars easily: > > 1. leiningen-1.0.1-standalone.jar fromhttp://repo.technomancy.us/ > > 2. clojure.jar > > fromhttp://build.clojure.org/releases/org/clojure/clojure/1.1.0/ > > > You need only these two jars in order to run Leiningen. > > After downloading these jars you need to copy them on paths > > pointed by %CLOJURE_JAR% and %LEIN_JAR% variables > > respectively. > > > HTH, > > Rob > > Well, I set the env variables and ran the script, got an error. > > These are my env variables: > > CLASSPATH=c:\clojure;.;c:\clojure\clojure-1.0.0.jar;c:\clojure\clojure.jar > > CLOJURE_HOME=c:\clojure > CLOJURE_JAR=c:\clojure\clojure.jar > > LEIN_JAR=C:\clojure\lein.d\leiningen-0.5.0.jar > LEIN_VERSION=1.1.0-SNAPSHOT > > JAVA_HOME=C:\jdk1.6.0_16 >
You need to set only LEIN_JAR and CLOJURE_JAR CLASSPATH will be created by Leiningen. On your CLASSPATH there are two clojure jars: 1. clojure-1.0.0.jar (does it exist?) 2. clojure.jar You should use only one clojure jar, which will be pointed by CLOJURE_JAR variable. Try to use more up-to-date versions: Clojure: 1.1.0 Leinigen: 1.0.1 HTH, Rob -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
