Since you are using Windows, you may find Clojure Box easier to install.

http://clojure.bighugh.com/

I followed the riddell.us/.../slime_swank.html tutorial yesterday, and
can confirm that it works well for Ubuntu.


On Sun, Jan 10, 2010 at 5:58 AM, brian <brw...@gmail.com> wrote:
>
> Hi,
>
> I'm trying to follow the directions at:
>
> http://riddell.us/tutorial/slime_swank/slime_swank.html
>
> I'm doing this under cygwin.
>
> I think I did everything correctly, but it seems not to find the clojure.jar
> file although I have it and the clojure-contrib.jar in my home directory as
> configured in the my .emacs file. I am using emacs 23.
> I also have the clojure jar's  in my classpath.
>
> this is my .emacs :
>
> ;; clojure-mode
> (add-to-list 'load-path "~/.emacs.d/elpa/clojure-mode-1.6")
> (require 'clojure-mode)
>
> ;; swank-clojure
> (add-to-list 'load-path "~/opt/swank-clojure/src/emacs")
> (add-to-list 'load-path "~/.emacs.d/elpa/swank-clojure-1.1.0")
>
> (setq swank-clojure-jar-path "~/clojure.jar"
>     swank-clojure-extra-classpaths (list
>                     "~/opt/swank-clojure/src/main/clojure"
>                     "~/clojure-contrib.jar"))
>
> (require 'swank-clojure-autoload)
>
> ;; slime
> (eval-after-load "slime"
>  '(progn (slime-setup '(slime-repl))))
>
> (add-to-list 'load-path "~/opt/slime")
> (require 'slime)
> (slime-setup)
>
>
>
>
>
> this is the error when I call slime
>
>
>
>
>
> (require 'swank.swank)
>
> (swank.swank/ignore-protocol-version "2010-01-06")
>
> (do (.. java.net.InetAddress getLocalHost getHostAddress)
> nil)(swank.swank/start-server
> "/cygdrive/c/DOCUME~1/brian/LOCALS~1/Temp/slime.2848" :encoding
> "iso-latin-1-unix")
>
> java.lang.NoClassDefFoundError: clojure/main
> Caused by: java.lang.ClassNotFoundException: clojure.main
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>   at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
> Could not find the main class: clojure.main.  Program will exit.
> Exception in thread "main"
> Process inferior-lisp exited abnormally with code 1
>
> Thanks
> Brian
>
>
>
> --
> 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

Reply via email to