This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: Caused by: java.lang.ClassNotFoundException: com.sun.jdi.Location with slime kawa
- From: Helmut Eller <eller dot helmut at gmail dot com>
- To: kawa at sourceware dot org
- Date: Mon, 21 Apr 2014 09:12:08 +0200
- Subject: Re: Caused by: java.lang.ClassNotFoundException: com.sun.jdi.Location with slime kawa
- Authentication-results: sourceware.org; auth=none
- References: <BLU0-SMTP4520443F778EF108447D752D65F0 at phx dot gbl>
On Sun, Apr 20 2014, anon wrote:
> New scheme user trying to use kawa with emacs slime. I have the latest
> Slime installed, emacs 2.24.10, jdk7 but I get this error:
> ~/dev/tools/lisp/slime/contrib$ java -cp
> /usr/local/lib/kawa.jar:~/Downloads/jdk1.8.0_05/lib/sa-jdi.jar -Xdebug
> kawa.repl -e '(compile-file "swank-kawa.scm" "swank-kawa")'
[...]
> Caused by: java.lang.ClassNotFoundException: com.sun.jdi.Location
[...]
> Any idea?
This particular problem happens if tools.jar (from
JDK_HOME/lib/tools.jar) is not in the classpath.
However, even if tools.jar is in the classpath there will be other
problems later. swank-kawa.scm and hence SLIME doesn't work with a
current version of Kawa because there have been some changes to Kawa's
port classes and swank-kawa.scm was not updated. I will not fix this
anytime soon or maybe never.
I'd recommend not to spend time on SLIME and instead use comint-mode or
simply rlwrap.
Helmut