couple of thoughts:
cdt uses the jdk's tools.jar for access to the java debug interface,
(jdi).

it's expecting it here:
 (format "file:///%s/../lib/tools.jar" (System/getProperty
"java.home"))

do you have such a file there?

if not, do you have a tools.jar file anywhere else?

which jdk are you using, sun's or openjdk?

i'm pretty sure tools.jar comes with both, but i can't recall if i
ever looked for it in openjdk.

hth,
g

On Mar 15, 10:30 am, Jeff Bordogna <[email protected]> wrote:
> I'm on Ubuntu and getting this same error.  I can load up the repl no
> problem (tried with java command, and also with lein swank/slime), but after
> setting my port on M-x cdt, I get the following in gud-clojure.main:
>
> Current directory is ~/
> Clojure 1.2.0
> user=> java.lang.ClassNotFoundException: com.sun.jdi.Bootstrap (cdt.clj:30)
> user=> java.lang.Exception: Unable to resolve symbol: CDT-DISPLAY-MSG in
> this context (NO_SOURCE_FILE:2)
> user=> java.lang.Exception: Unable to resolve symbol: set-source-path in
> this context (NO_SOURCE_FILE:3)
> user=> java.lang.Exception: Unable to resolve symbol: cdt-attach in this
> context (NO_SOURCE_FILE:4)
>
> I followed these directions:http://georgejahad.com/clojure/emacs-cdt.html.
>  Any ideas?

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to