Thank you brother. This did the trick for me. On Feb 22, 2:39 pm, ajazz <pro.o...@gmail.com> wrote: > hello, > I had the same problem. > > I created ~/.swank-clojure directory, and downloaded there swank- > clojure-1.1.0.jar fromhttp://repo.technomancy.us/. Now M-x slime > works. > > On Feb 20, 11:40 am, Paul Tarvydas <tarvy...@visualframeworksinc.com> > wrote: > > > > >When you perform the installation, you will see warnings related to the > > > >byte-compilation of the packages. This is normal; the packages will work > > > >just fine even if there are problems compiling it upon installation > > > > Since elisp can work in either compiled or interpreted mode, > > > compilation errors don't mean the package failed to install. It just > > > means it will run in interpreted mode. > > > [Maybe this is just a problem with my incorrect expectations? I don't > > expect to see java exceptions at the points a and b below, plus the dead > > inferior-lisp.] > > > OK, if I ignore the two errors (not warnings), and continue on > > > a) If I type m-x slime, this appears (note, no question is asked about > > loading clojure): > > > (require 'swank.swank) > > > (swank.swank/ignore-protocol-version nil) > > > (do (.. java.net.InetAddress getLocalHost getHostAddress) > > nil)(swank.swank/start-server "/tmp/slime.27491" :encoding > > "iso-latin-1-unix") > > > Clojure > > user=> java.io.FileNotFoundException: Could not locate > > swank/swank__init.class or swank/swank.clj on classpath: (NO_SOURCE_FILE:0) > > user=> user=> java.lang.ClassNotFoundException: swank.swank > > (NO_SOURCE_FILE:3) > > user=> user=> nil > > java.lang.ClassNotFoundException: swank.swank (NO_SOURCE_FILE:5) > > user=> user=> > > > b) further ignoring that, I type m-xswank-clojure-project and this appears > > in the *inferior-lisp* buffer (note, no ~/.swank-clojuredirectory was > > created ; and, if I create a file containing (+ 2 3), then hit c-x c-e, > > emacs just beeps): > > > (require 'swank.swank) > > > (swank.swank/ignore-protocol-version nil) > > > (do (.. java.net.InetAddress getLocalHost getHostAddress) > > nil)(swank.swank/start-server "/tmp/slime.27491" :encoding > > "iso-latin-1-unix") > > > Exception in thread "main" 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. > > > Process inferior-lisp exited abnormally with code 1
-- 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