Error using swank-cdt to debug clojure: "unabled to add tools.jar to classpath"

I'm learning how to debug a clojure application ... I tried several tools and no one convinced me ... now I'm trying to use swank-cdt, which is based on CDT ... I read the instructions here:

http://georgejahad.com/clojure/swank-cdt.html

I added my dev dependencies to my lein project (in my case clojure -source "1.2.1" because I use clojure 1.2.1 ...)

I ran lein deps..and lein install ... elein swank to use repl and slime-connect to connect my repl ... so far so good ... I used (use the 'debugproject. Kernel) work well ...

now..when try (use 'swank.cdt), I get in my stack:

com.sun.jdi.Bootstrap [Abandoned class java.lang.ClassNotFoundException]

and inside my repl:

warning: unabled to add tools.jar to the classpath. This may cause CDT initialization to fail.

what am I doing wrong???

Thank you for your patience and I will read all my posts: D and thank you very much if you can help me.

+4
source share
2 answers

Swank-clojure 1.4.0, released yesterday, automatically sets up tool.jar crap for you. You do not need to symbolize or copy anything.

+1
source

I copied tools.jar to lib / dev

0
source

All Articles