Jules:

Did you see this page on clojure-doc.org before?

    http://clojure-doc.org/articles/tutorials/eclipse.html

I don't know if it covers any of the difficulties you found, or documents 
anything that you'd like to see documented, but Michael Klishin and others that 
maintain clojure-doc.org content would likely be quite willing to accept any 
enhancements to that documentation that you would suggest.

Andy

On Feb 15, 2013, at 3:57 PM, Jules wrote:

> Okay, here is what happened when I tried to install on a fresh win 8 machine:
> 
> - first downloaded eclipse
> - tried to run it => no java installed
> - installed java from the oracle site (making sure to opt out of their 
> bundeled crapware :P)
> - tried to run eclipse again, says still no java installed
> - turns out i needed to put the java binary on the path manually, so i do this
> - run eclipse again, error: "Failed to load the JNI shared library 
> "C:\Program Files (x86)\Java\jre7\bin\client\jvm.dll"
> - google for this problem, suspect that i have 32 bit java and 64 bit eclipse
> - go to oracle site again, and hunt around for 64 bit java, which is hidden 
> on a different page
> - eclipse runs, I select a worskspace directory
> - go to Help > Install new software
> - paste update site url in field called "Work with"
> - select counterclockwise, next, next, next, OK, next, restart eclipse
> - file > new > project > leiningen > leiningen project, next, type project 
> name, finish
> - eclipse appears to be hanging: the window grays out and title bar says "not 
> responding", but eventually does work, I get a couple of dialog boxes about 
> git which I close
> - now I'm back to the home screen of eclipse, nothing indicates that the 
> project was created
> - looking around on the file system indicates that the project was however 
> created
> - after some fighting with the eclipse UI I get to see that the project was 
> indeed created
> - i select the project, click run, select "run as clojure application", get 
> some more dialog boxes, select OK
> - at the bottom, an empty tab opens with title "REPL @ nrepl:///localhost..."
> - that repl works
> - i add core.logic to the dependencies in project.clj
> - i restart the repl
> - try (use 'clojure.core.logic) => file not found error
> - i right click on the project > leiningen > update dependencies
> - i restart the repl, and type (use 'clojure.core.logic)
> - IT WORKS!!!
> 
> So indeed CCW does contain its own leiningen, which is awesome. Somehow that 
> didn't work on the other computer though...
> 
> Although not optimal, the process described above is doable. Some of the 
> steps will be really non obvious to beginners, and at each step you have 10 
> ways to do the wrong thing. But indeed this installation is MUCH better than 
> I previously experienced. Now I just need to figure out how to do the rest of 
> the things one needs to do in CCW, like unit testing, having java files and 
> clojure in the same project, integrating with version control, running the 
> whole application, and creating a packaged application/library.
> 
> If this process was described in a canonical how to get started guide for 
> clojure on windows, then that would be very good.
> 
> Jules

-- 
-- 
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.


Reply via email to