Re: Installing Clojure on Windows 7
meant to say in my post entitled instructions for windows 7 to install clojure - leiningen - eclipse - counterclockwise: if Ctrl (not Cmd) Enter does not work in windows 7 try: Ctrl Alt S when done don't forget to restart after re-enabling your firewall and UAC (otherwise UAC will remain off and your hair will catch fire) also, i suppose java knows very well what to do with the windows default folder name Program Files (x86) which requires spaces in its pathway: C:\Program Files (x86) and expect changing it will also spontaneously combust your hair. On Thursday, January 24, 2013 12:56:59 PM UTC-5, sampso...@googlemail.com wrote: Apparently installing a development environment for Clojure on Windows 7 is very difficult. What is the best way, that has a chance that it might work? -- -- 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/groups/opt_out.
Re: Installing Clojure on Windows 7
On Thursday, January 24, 2013 12:56:59 PM UTC-5, sampso...@googlemail.com wrote: Apparently installing a development environment for Clojure on Windows 7 is very difficult. What is the best way, that has a chance that it might work? INSTRUCTIONS FOR WINDOWS 7 TO INSTALL CLOJURE - LEININGEN - ECLIPSE - COUNTERCLOCKWISE 30 January 2013 I am a newbie. Maybe my ignorant perspective will be helpful to others on Windows 7. Maybe someone more astute than I will incorporate some of the following into something more canonic. Some of this is from other sources, but ultimately appeared to get me a Hello World on Console window. Note that, before the following, many other attempts were made and, though I tried to remove everything, not sure I did. It is possible that leftover resources from a previous attempt when added to the steps below resulted in final success. Don't give up. Nothing crashed for me, but no kidding, back up files on your computer to an external hard drive. Also suggest you create a restore point, so if things don't work you may be able to restore your system to its previous state (automatically uninstalling software). Click: Windows Start Menu Icon (lower right of screen) Control Panel System System Protection Create Give the Restore Point a name. Wait for the Restore Point to be created. Click Close Click OK. If things fail and you want to start fresh, you can return to System Protection to attempt to restore the system to its previous state. In order to successfully install ANYTHING in the Program Files folder (64 bit) of Windows 7. If you are installing 32 bit then Program Files (x86). These are the folders, respectively that such programs seem to want to be in) I: TURN OFF USER ACCOUNT CONTROL Open User Account Control Settings by clicking the Start button Picture of the Start button, and then clicking Control Panel. In the search box, type uac, and then click Change User Account Control settings. Do one of the following: To turn off UAC, move the slider to the Never notify position, and then click OK. Administrator permission required If you're prompted for an administrator password or confirmation, type the password or provide confirmation. You will need to restart your computer for UAC to be turned off. DISABLE YOUR FIREWALL. LATER, AFTER EVERYTHING IS INSTALLED, TURN USER ACCOUNT CONTROL AND YOUR FIREWALL BACK ON. I INSTALLED 64 BIT JAVA 7 (NOT the EE version. And on a computer capable of running 64 bit). Don't remember where I got it from but try here: http://www.oracle.com/technetwork/java/javase/downloads/index.html INSTALLED IT TO THE PROGRAM FILES FOLDER ON MY HARD DRIVE. I INSTALLED 64 BIT ECLIPSE. FROM http://www.eclipse.org/downloads/ To the Right of Eclipse IDE for Java Developers, 150 MB (I did not select the Eclipse Java EE version) I clicked to download 64 Bit. I DOWNLOADED IT TO THE PROGRAM FOLDER ON MY HARD DRIVE. It reportedly includes Git. Unzipped and installed it right there in the Program Folder. The first time Eclipse is run, it will ask you for a location on your disk where Eclipse will put its metadata and create new projects by default. I placed that in my local UserName Folder within the User Folder. Installed Counterclockwise also known as CCW (a Clojure plugin for Eclipse) In the Help Menu select Install new software… Paste the following Counterclockwise url in the “Work with:” textbox: http://ccw.cgrand.net/updatesite/ , Hit Enter [[[---Name repository; Click next; Click next; Accept] Select counterclockwise, verify the “Contact all update sites during …” chekbox is checked, click next, accept licence, etc., restart Eclipse I floundered around and found Java Perspective (not Java Browser), but you may try, as another instructed: Go to menu Window Reset Perspective ... this will reset the way the views are layout, and also place correctly the views contributed by Counterclockwise (the Namespace Browser view, placed behind the code outline view) Now you would think it would be enough to just set pathway to a single folder and let the system find things in subfolders. That might be slow. Not sure if it would work. I set many Pathways. Not sure what is really necessary but things seem to work. Good way to copy a pathway is to navigate to inside the folder in Windows Explorer. Click just to the right of the pathway in the title bar to highlight the entire path and press Ctrl C to copy. Navigate to the inside of the .eclipse folder, and copy the name of the pathway to the .eclipse folder C:\Users\MyComputerUserName\.eclipse Paste it into a text editor and add a backslash to make it look like C:\Users\MyComputerUserName\.eclipse\ (read somewhere the backslash was necessary) While you're at it, you may add other pathways. Navigate to inside the .lein folder and add that in your text editor. Separate the 2 pathways with a
Re: Installing Clojure on Windows 7
I use eclipse with the counterclockwise plugin. Till now I had no problems with Vista,7 8. Am 24.01.2013 18:57 schrieb sampson.jo...@googlemail.com: Apparently installing a development environment for Clojure on Windows 7 is very difficult. What is the best way, that has a chance that it might work? -- -- 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 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/groups/opt_out.
Re: Installing Clojure on Windows 7
On Thursday, January 24, 2013 12:56:59 PM UTC-5, sampso...@googlemail.comwrote: Apparently installing a development environment for Clojure on Windows 7 is very difficult. What is the best way, that has a chance that it might work? I just wanted to repeat the link that Phil Hagelberg posted earlier, as it seems like it got lost a little in the thread: http://clojure-doc.org/articles/tutorials/emacs.html This is an excellent current tutorial. I just installed a complete Windows setup and it took 5 minutes to go from zero to nrepl-jack-in. I have a related question, do I need a contributor agreement filed to make changes to http://dev.clojure.org/display/doc/Getting+Started+with+Emacs ? I have an account there but can't find the edit option for that page. -- -- 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/groups/opt_out.
Re: Installing Clojure on Windows 7
I haven't heard of brew. I'm glad some people find it easy to install Clojure on Windows. But knowing that doesn't really help those who don't. Not that there is any obligation on anyone to help - we can just eff off and do other things. Regarding a 'snapshot' build, obviously no-one is obliged to provide that or anything else. My point was that it might be a good thing if a working development stack, IDE and all, were available from a single site under the management of a single organisation. There isn't, and that is perfectly fair. I am just not likely to be using Clojure after all - I don't want to waste more of my time or anyone else's. I apologise for the time already wasted. I don't know what you mean by a previous development stack - I have never had Clojure working. On Saturday, January 26, 2013 11:36:56 PM UTC, Sean Corfield wrote: On Sat, Jan 26, 2013 at 3:24 AM, sampso...@googlemail.com javascript: wrote: If that is so should the developers not be frank up front and say that Clojure is not meant to be used on Windows? Clojure works just fine on Windows. As I said, I've set up Clojure development environments on a number of Windows machines now and it really isn't that difficult. It won't do Clojure's image any good if Windows users are spending hours vainly struggling to install stuff, following misleading advice. It's hard to know what to do about all the misleading advice out there - it's not like Clojure/core or Clojure/dev can magically wave some wand and make all the bad blog posts go away :( It's like all the people who post about brew install clojure - just install the Leiningen shell script and you're done. Again, not much can be done about people using brew to 'install' Clojure :( More positively, perhaps there could be a 'snapshot' build of everything required, tested on Windows 7 and downloadable from official sites. I'm not quite sure what you're looking for here...? * The official Leiningen site has the .bat file that works on Windows. * The official Emacs (GNU) site has the .exe that works on Windows. * The official LightTable site has the .zip file that works on Windows. And the same goes for Eclipse and CCW - again on separate sites - or IntelliJ and La Clojure or... Clojure itself is just one small component in a Clojure development environment and there are lots of choices for developers. Clojure/core is only responsible for Clojure itself and the official site has a JAR file that works on Windows. I guess I would ask: what is your previous development stack and did it have a snapshot build of everything required that could be download from a single official site? -- 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 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, send email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Installing Clojure on Windows 7
As Laurent pointed out, Eclipse Counterclockwise is pretty close to being a the kind of full-stack snapshot you're looking for, and it works great and installs easily on Windows. You simply download Eclipse (a zip file which doesn't really need to be installed), run it, and install counterclockwise from the plugin install system. Nothing else needs to be installed - Clojure, leiningen, etc. are all handled for you. On Mon, Jan 28, 2013 at 1:38 AM, sampson.jo...@googlemail.com wrote: I'm glad some people find it easy to install Clojure on Windows. But knowing that doesn't really help those who don't. Not that there is any obligation on anyone to help - we can just eff off and do other things. Regarding a 'snapshot' build, obviously no-one is obliged to provide that or anything else. My point was that it might be a good thing if a working development stack, IDE and all, were available from a single site under the management of a single organisation. -- -- 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/groups/opt_out.
Re: Installing Clojure on Windows 7
I have been able to install clojure (1.4.0), lieningen, emacs (24.2) fine on windows 7. Clojure and Lien work fine. It took me a while to figure out the problem with emacs. After fighting through battles of setup, I realized I have to start emacs as the administrator in windows. This might solve some problems for some of you. It seems to work that way - at least, I get the prompt when I run nrepl-jack-in On Thursday, January 24, 2013 12:56:59 PM UTC-5, sampso...@googlemail.com wrote: Apparently installing a development environment for Clojure on Windows 7 is very difficult. What is the best way, that has a chance that it might work? -- -- 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, send email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Installing Clojure on Windows 7
I highly recommend GOW - Gnu On Windows - as a lightweight alternative to Cygwin: https://github.com/bmatzelle/gow/wiki It provides wget / curl which makes Leiningen happy - along with about a hundred common *nix commands, without the overhead of Cygwin. Sean On Sat, Jan 26, 2013 at 7:56 PM, Eric MacAdie emaca...@gmail.com wrote: OT: It looks like Gnuwin32 has not been updated in a while. When I use a Windows machine, I always install cygwin: http://cygwin.com/ You can install emacs from that. I feel like attaching a pic with the Dos Equis Most Interesting Man meme: I don't always use Windows. But when I do, I install Cygwin. - Eric MacAdie On Sat, Jan 26, 2013 at 7:22 PM, Gregory Graham gsg...@gmail.com wrote: I'm a Clojure newbie, and during Christmas break I decided to learn Clojure, and installed it on my Mac, using Emacs, Nrepl, and Leiningen 2. When I got back to work, I put the same setup on my Windows 7 machine, and the only issue was the lack of wget. So, I installed Gnuwin32, and everything works fine. I was already using git for version control, so that wasn't a problem. I will say that I had used Emacs several times in my career when working in a Unix environment, but did not like it on Windows. However, when I tried Emacs 24 on Windows a couple of weeks ago, I was pleasantly surprised, and it has now become my main editor at home and at work. -- -- 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 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 -- 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 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
Re: Installing Clojure on Windows 7
On Saturday, January 26, 2013 7:01:34 PM UTC-8, Ravi Sundaar wrote: I am running into problems getting emacs (24.2) to work with clojure as well on windows 7. I have installed leiningen fine. Clojure (1.4.0) itself seems to be behaving. The packages seem to install fine in emacs - no problems. When I invoke nrepl-jack-in from emacs, I get an Access Denied error. No idea what that could be. There does not seem to be any discussions on this on the web. Any thoughts? Should I abandon the emacs approach on windows and choose a different editor? No, Emacs works perfectly well on Windows. What packages did you install and how did you install them? -- -- 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
Re: Installing Clojure on Windows 7
I haven't had any luck getting Light Table to work on Windows 7, and it's still in a very rough state. I wouldn't recommend it at this time. On Sat, Jan 26, 2013 at 10:56 AM, Ryan Cole r...@rycole.com wrote: It's actually pretty simple, if you decide to use leiningen and light table, the editor. All you have to do is install the JDK (decline the JRE option, when it asks) and then put leiningen and light table on your system path. You're done. Leiningen and light table will download dependencies as needed, including Clojure. Ryan -- -- 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
Re: Installing Clojure on Windows 7
I guess I don't understand what's so difficult about getting Clojure, or Light Table, to work on Windows (7). I literally just installed the JDK, put the bin directory of it on my $PATH, and with that alone, Light Table will work just fine. I then downloaded the Leiningen batch file and put it on my $PATH, as well. I only encountered one compatibility issue dealing with uberjars, but I opened a ticket for Leiningen and it was promptly fixed. I've done this with both JDK 1.6 and 1.7. As far as Light Table's state, it's definitely under development but I haven't encountered any editing tasks that it can't perform. Ryan On Sunday, January 27, 2013 2:10:01 PM UTC-6, puzzler wrote: I haven't had any luck getting Light Table to work on Windows 7, and it's still in a very rough state. I wouldn't recommend it at this time. -- -- 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
Re: Installing Clojure on Windows 7
On Sun, Jan 27, 2013 at 12:15 PM, Ryan Cole r...@rycole.com wrote: I guess I don't understand what's so difficult about getting Clojure, or Light Table, to work on Windows (7). I literally just installed the JDK, put the bin directory of it on my $PATH, and with that alone, Light Table will work just fine. I then downloaded the Leiningen batch file and put it on my $PATH, as well. I only encountered one compatibility issue dealing with uberjars, but I opened a ticket for Leiningen and it was promptly fixed. I've done this with both JDK 1.6 and 1.7. As far as Light Table's state, it's definitely under development but I haven't encountered any editing tasks that it can't perform. Ryan Glad it's working for you. On every system I've tried to run it on, opening an existing project or starting a new project causes it to hang. The instarepl, on some versions, sort of worked for a little bit. -- -- 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
Re: Installing Clojure on Windows 7
On Friday, January 25, 2013 6:19:38 PM UTC, Phil Hagelberg wrote: sampso...@googlemail.com javascript: writes: I have tried clojure-mode, creating .emacs.d in Emacs-24.2 - it complained that there is no emacs_24.2/.emacs.d (note the underscore) and proceeded to create one. However, the material I pasted from blogs had fatal errors in it. Most of what you read on blogs is either wrong from the beginning or wrong by the time you actually read it; the official documentation should always be your starting point. However, in this case clojure-doc.org has an overview that is wider in scope than the documentation for any individual package: http://clojure-doc.org/articles/tutorials/emacs.html However, very few contributors are familiar with Windows. If you find the fix for the problem you encountered, please consider improving the documentation. -Phil If that is so should the developers not be frank up front and say that Clojure is not meant to be used on Windows? It won't do Clojure's image any good if Windows users are spending hours vainly struggling to install stuff, following misleading advice. More positively, perhaps there could be a 'snapshot' build of everything required, tested on Windows 7 and downloadable from official sites. Regards John -- -- 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
Re: Installing Clojure on Windows 7
so, wait, are you having any trouble with eclipse+counterclockwise ? it seems to be pretty straight forward, considering that I actually failed to use emacs myself (although I did get emacs-live working, i prefer eclipse+ccw for now) On Sat, Jan 26, 2013 at 12:24 PM, sampson.jo...@googlemail.com wrote: On Friday, January 25, 2013 6:19:38 PM UTC, Phil Hagelberg wrote: sampso...@googlemail.com writes: I have tried clojure-mode, creating .emacs.d in Emacs-24.2 - it complained that there is no emacs_24.2/.emacs.d (note the underscore) and proceeded to create one. However, the material I pasted from blogs had fatal errors in it. Most of what you read on blogs is either wrong from the beginning or wrong by the time you actually read it; the official documentation should always be your starting point. However, in this case clojure-doc.org has an overview that is wider in scope than the documentation for any individual package: http://clojure-doc.org/**articles/tutorials/emacs.htmlhttp://clojure-doc.org/articles/tutorials/emacs.html However, very few contributors are familiar with Windows. If you find the fix for the problem you encountered, please consider improving the documentation. -Phil If that is so should the developers not be frank up front and say that Clojure is not meant to be used on Windows? It won't do Clojure's image any good if Windows users are spending hours vainly struggling to install stuff, following misleading advice. More positively, perhaps there could be a 'snapshot' build of everything required, tested on Windows 7 and downloadable from official sites. Regards John -- -- 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 -- I may be wrong or incomplete. Please express any corrections / additions, they are encouraged and appreciated. At least one entity is bound to be transformed if you do ;) -- -- 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
Re: Installing Clojure on Windows 7
sampson.jo...@googlemail.com writes: More positively, perhaps there could be a 'snapshot' build of everything required, tested on Windows 7 and downloadable from official sites. I'm confused; are you having trouble setting up Clojure or Emacs? Emacs is not affiliated with Clojure in any way. In fact, the GNU project is pretty up-front about the fact that Windows support is not considered a priority. If that is so should the developers not be frank up front and say that Clojure is not meant to be used on Windows? I don't think I've ever made the claim that any of the software I maintain is supported on Windows in an official fashion, but maybe that could be made clearer. The Windows compatibility all comes from community contributions where people have found problems and submitted patches to fix them. -Phi -- -- 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
Re: Installing Clojure on Windows 7
On Jan 26, 2013 12:29 PM, AtKaaZ atk...@gmail.com wrote: so, wait, are you having any trouble with eclipse+counterclockwise ? it seems to be pretty straight forward, considering that I actually failed to use emacs myself (although I did get emacs-live working, i prefer eclipse+ccw for now) I confirm that windows compatibility is in the goals of CounterClockWise and will be addressed as seriously as any other issue that might be raised on the project. I doubt you'll have windows specific problems with the current stable version. On Sat, Jan 26, 2013 at 12:24 PM, sampson.jo...@googlemail.com wrote: On Friday, January 25, 2013 6:19:38 PM UTC, Phil Hagelberg wrote: sampso...@googlemail.com writes: I have tried clojure-mode, creating .emacs.d in Emacs-24.2 - it complained that there is no emacs_24.2/.emacs.d (note the underscore) and proceeded to create one. However, the material I pasted from blogs had fatal errors in it. Most of what you read on blogs is either wrong from the beginning or wrong by the time you actually read it; the official documentation should always be your starting point. However, in this case clojure-doc.org has an overview that is wider in scope than the documentation for any individual package: http://clojure-doc.org/articles/tutorials/emacs.html However, very few contributors are familiar with Windows. If you find the fix for the problem you encountered, please consider improving the documentation. -Phil If that is so should the developers not be frank up front and say that Clojure is not meant to be used on Windows? It won't do Clojure's image any good if Windows users are spending hours vainly struggling to install stuff, following misleading advice. More positively, perhaps there could be a 'snapshot' build of everything required, tested on Windows 7 and downloadable from official sites. Regards John -- -- 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 -- I may be wrong or incomplete. Please express any corrections / additions, they are encouraged and appreciated. At least one entity is bound to be transformed if you do ;) -- -- 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 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
Re: Installing Clojure on Windows 7
It's actually pretty simple, if you decide to use leiningen and light table, the editor. All you have to do is install the JDK (decline the JRE option, when it asks) and then put leiningen and light table on your system path. You're done. Leiningen and light table will download dependencies as needed, including Clojure. Ryan On Thursday, January 24, 2013 11:56:59 AM UTC-6, sampso...@googlemail.com wrote: Apparently installing a development environment for Clojure on Windows 7 is very difficult. What is the best way, that has a chance that it might work? -- -- 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
Re: Installing Clojure on Windows 7
On Sat, Jan 26, 2013 at 3:24 AM, sampson.jo...@googlemail.com wrote: If that is so should the developers not be frank up front and say that Clojure is not meant to be used on Windows? Clojure works just fine on Windows. As I said, I've set up Clojure development environments on a number of Windows machines now and it really isn't that difficult. It won't do Clojure's image any good if Windows users are spending hours vainly struggling to install stuff, following misleading advice. It's hard to know what to do about all the misleading advice out there - it's not like Clojure/core or Clojure/dev can magically wave some wand and make all the bad blog posts go away :( It's like all the people who post about brew install clojure - just install the Leiningen shell script and you're done. Again, not much can be done about people using brew to 'install' Clojure :( More positively, perhaps there could be a 'snapshot' build of everything required, tested on Windows 7 and downloadable from official sites. I'm not quite sure what you're looking for here...? * The official Leiningen site has the .bat file that works on Windows. * The official Emacs (GNU) site has the .exe that works on Windows. * The official LightTable site has the .zip file that works on Windows. And the same goes for Eclipse and CCW - again on separate sites - or IntelliJ and La Clojure or... Clojure itself is just one small component in a Clojure development environment and there are lots of choices for developers. Clojure/core is only responsible for Clojure itself and the official site has a JAR file that works on Windows. I guess I would ask: what is your previous development stack and did it have a snapshot build of everything required that could be download from a single official site? -- 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 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
Re: Installing Clojure on Windows 7
I am running into problems getting emacs (24.2) to work with clojure as well on windows 7. I have installed leiningen fine. Clojure (1.4.0) itself seems to be behaving. The packages seem to install fine in emacs - no problems. When I invoke nrepl-jack-in from emacs, I get an Access Denied error. No idea what that could be. There does not seem to be any discussions on this on the web. Any thoughts? Should I abandon the emacs approach on windows and choose a different editor? On Thursday, January 24, 2013 12:56:59 PM UTC-5, sampso...@googlemail.com wrote: Apparently installing a development environment for Clojure on Windows 7 is very difficult. What is the best way, that has a chance that it might work? -- -- 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
Re: Installing Clojure on Windows 7
I'm a Clojure newbie, and during Christmas break I decided to learn Clojure, and installed it on my Mac, using Emacs, Nrepl, and Leiningen 2. When I got back to work, I put the same setup on my Windows 7 machine, and the only issue was the lack of wget. So, I installed Gnuwin32http://gnuwin32.sourceforge.net/, and everything works fine. I was already using git for version control, so that wasn't a problem. I will say that I had used Emacs several times in my career when working in a Unix environment, but did not like it on Windows. However, when I tried Emacs 24 on Windows a couple of weeks ago, I was pleasantly surprised, and it has now become my main editor at home and at work. -- -- 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
Re: Installing Clojure on Windows 7
OT: It looks like Gnuwin32 has not been updated in a while. When I use a Windows machine, I always install cygwin: http://cygwin.com/ You can install emacs from that. I feel like attaching a pic with the Dos Equis Most Interesting Man meme: I don't always use Windows. But when I do, I install Cygwin. - Eric MacAdie On Sat, Jan 26, 2013 at 7:22 PM, Gregory Graham gsg...@gmail.com wrote: I'm a Clojure newbie, and during Christmas break I decided to learn Clojure, and installed it on my Mac, using Emacs, Nrepl, and Leiningen 2. When I got back to work, I put the same setup on my Windows 7 machine, and the only issue was the lack of wget. So, I installed Gnuwin32http://gnuwin32.sourceforge.net/, and everything works fine. I was already using git for version control, so that wasn't a problem. I will say that I had used Emacs several times in my career when working in a Unix environment, but did not like it on Windows. However, when I tried Emacs 24 on Windows a couple of weeks ago, I was pleasantly surprised, and it has now become my main editor at home and at work. -- -- 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 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
Re: Installing Clojure on Windows 7
As people already have said Emacs + Leiningen is readily setup on Windows 7. emacs-live makes clojure coding a breeze with emacs 24. It's all the other frustrations that make it a pain. Command Line, git, grep etc My solution: Ubuntu 12.04 on VirtualBox VM with Emacs 24. Quick, easy and s much more pleasant the Windows for clojure dev. On Thursday, 24 January 2013 17:56:59 UTC, sampso...@googlemail.com wrote: Apparently installing a development environment for Clojure on Windows 7 is very difficult. What is the best way, that has a chance that it might work? -- -- 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
Re: Installing Clojure on Windows 7
sampson.jo...@googlemail.com writes: I have tried clojure-mode, creating .emacs.d in Emacs-24.2 - it complained that there is no emacs_24.2/.emacs.d (note the underscore) and proceeded to create one. However, the material I pasted from blogs had fatal errors in it. Most of what you read on blogs is either wrong from the beginning or wrong by the time you actually read it; the official documentation should always be your starting point. However, in this case clojure-doc.org has an overview that is wider in scope than the documentation for any individual package: http://clojure-doc.org/articles/tutorials/emacs.html However, very few contributors are familiar with Windows. If you find the fix for the problem you encountered, please consider improving the documentation. -Phil -- -- 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
Installing Clojure on Windows 7
Apparently installing a development environment for Clojure on Windows 7 is very difficult. What is the best way, that has a chance that it might work? -- -- 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
Re: Installing Clojure on Windows 7
2013/1/24 sampson.jo...@googlemail.com: Apparently installing a development environment for Clojure on Windows 7 is very difficult. What is the best way, that has a chance that it might work? Installing Counterclockwise for Eclipse should be as easy as it can be : http://dev.clojure.org/display/doc/Getting+Started+with+Eclipse+and+Counterclockwise Windows is not a second-class citizen for Counterclockwise, there are lots of Windows users of it. Note also that for basic Leiningen integration (automatic handling of your project's classpath dependencies), you won't have to install anything beyond Counterclockwise, it ships embedded with Leiningen. Cheers, -- Laurent -- -- 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 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
Re: Installing Clojure on Windows 7
On Thu, Jan 24, 2013 at 12:56 PM, sampson.jo...@googlemail.com wrote: Apparently installing a development environment for Clojure on Windows 7 is very difficult. What is the best way, that has a chance that it might work? I'm curious if you have any more specific reasons for this statement? -- -- 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
Re: Installing Clojure on Windows 7
Having now setup an Emacs-bsaed dev environment on XP and multiple Windows 8 machines, I no longer think it's as difficult as some people make it out to be. Leiningen 2 has a reasonably well-maintained Windows batch file so that problem is solved. The initial install is: * lein.bat (a single download plus adding to your path) * either: * install wget or curl and run lein self-install * download the JAR manually and move it to the correct .lein folder For an overall improved experience on Windows, I've taken to installing GOW - Gnu on Windows - https://github.com/bmatzelle/gow/wiki - which provides curl and wget and a bunch of other useful stuff, thus making lein self-install the easier option. For an IDE / editor, you have several choices: Emacs 24.x is as easy to install and setup on Windows IMO as on Mac or Linux now; as Laurent says, you have Eclipse + CCW; you also have LightTable. I don't imagine Windows 7 to be any more difficult than XP or Windows 8. On Thu, Jan 24, 2013 at 9:56 AM, sampson.jo...@googlemail.com wrote: Apparently installing a development environment for Clojure on Windows 7 is very difficult. What is the best way, that has a chance that it might work? -- -- 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 -- 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 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
Re: Installing Clojure on Windows 7
On Thursday, January 24, 2013 10:22:41 AM UTC-8, Sean Corfield wrote: Having now setup an Emacs-bsaed dev environment on XP and multiple Windows 8 machines, I no longer think it's as difficult as some people make it out to be. Sean, have you been using lein trampoline successfully on Windows? The last time I tried there was a persistent bug that hadn't been tracked down. -- -- 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
Re: Installing Clojure on Windows 7
On Thu, Jan 24, 2013 at 11:05 AM, George Oliver georgeolive...@gmail.com wrote: Sean, have you been using lein trampoline successfully on Windows? The last time I tried there was a persistent bug that hadn't been tracked down. I have not needed lein trampoline - I gather the bug is to do with the temp file it writes? -- 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 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
Re: Installing Clojure on Windows 7
I don't think there should are any problems with Clojure on Windows 7. lein trampoline cljsbuild repl-rhino didn't work for me on old versions of leiningen, but on the release version of lein 2 it works perfectly. I use a mix of IntelliJ+LaClojure Emacs+clojure-mode and they also work perfectly. -- -- 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
Re: Installing Clojure on Windows 7
I wonder how many people do not have the hours to spare to wrestle with dependency columns. Any alteration to any component - reorganisation, new version etc. causes the whole thing to collapse. Any advice on the Web goes out of date. It would be better if Clojure had a complete official programming environment under the control of one organisation. I have tried clojure-mode, creating .emacs.d in Emacs-24.2 - it complained that there is no emacs_24.2/.emacs.d (note the underscore) and proceeded to create one. However, the material I pasted from blogs had fatal errors in it. On Thursday, January 24, 2013 7:43:38 PM UTC, David Powell wrote: I don't think there should are any problems with Clojure on Windows 7. lein trampoline cljsbuild repl-rhino didn't work for me on old versions of leiningen, but on the release version of lein 2 it works perfectly. I use a mix of IntelliJ+LaClojure Emacs+clojure-mode and they also work perfectly. -- -- 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
Re: Installing Clojure on Windows 7
I regularly develop clojure on emacs on windows. I wrote up a guide for myself, you can read it and adapt it to your needs. https://github.com/bmillare/dj/wiki/Emacs-Setup https://github.com/bmillare/dj/wiki/Installation-Walkthrough On Thursday, January 24, 2013 12:56:59 PM UTC-5, sampso...@googlemail.com wrote: Apparently installing a development environment for Clojure on Windows 7 is very difficult. What is the best way, that has a chance that it might work? -- -- 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
Re: Installing Clojure on Windows 7
On Friday, 25 January 2013 01:56:59 UTC+8, sampso...@googlemail.com wrote: Apparently installing a development environment for Clojure on Windows 7 is very difficult. What is the best way, that has a chance that it might work? A fresh install of Eclipse with the Counterclockwise plugin always works perfectly for me. It's a very good choice if you are familiar with Eclipse for Java coding. - http://www.eclipse.org/downloads/ - http://code.google.com/p/counterclockwise/ There are plenty of other options, but they will generally leave you having to work out some command line config and installs. -- -- 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