Is this for Leiningen 2? I've been running it on Windows 8 64-bit without needing to update lein.bat. Which version of Windows are you on?
On Sat, Dec 8, 2012 at 10:15 AM, Kruno Saho <[email protected]> wrote: > There seems to be an issue, which I have spent several days combating. The > issue is simple, you can not download any dependencies, and therefore you > can not run Lein at all. > > The solution is very simple, and it is a well knows solution. In lein.bat, > at the very end of the file there needs to be a flag " > -Djava.net.preferIPv4Stack=true ^", and so the final bat file looks like > this: > > %JAVA_CMD% -client %LEIN_JVM_OPTS% ^ > -Dleiningen.original.pwd="%ORIGINAL_PWD%" ^ > -Djava.net.preferIPv4Stack=true ^ > -cp "%CLASSPATH%" clojure.main -m leiningen.core.main %* > > :EOF > > Even more funny is the fact I knew this problem already existed in > Eclipse, but solved it quickly, and yet taken me many days over the last > couple weeks to solve it. If this could get added to lein.bat,or simply > documented in the FAQ under "Running x64 bit JVM under Windows" it would > help a lot of other people. > > Thanks. > > -- > 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 -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ "Perfection is the enemy of the good." -- Gustave Flaubert, French realist novelist (1821-1880) -- 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
