my apologies George - upon closer inspection, I don't have a tools.jar file
- must have been in a daze before...I updated openjdk-6-jdk and it's update
included the tools.jar file (not sure why it wasn't there to begin with
though)...now I'm happily humming along with CDTthanks for all your
try adding that jar to your classpath, and see if that fixes it.
if not, run "jar -tf" on the tools.jar file to dump the table of
contents on it and email it to me and i'll see if i can figure out
what is going on.
On Mar 15, 7:34 pm, Jeff Bordogna wrote:
> George,
> Thanks for the respons
odd.
try adding that jar to your classpath, and see if that fixes it.
if not, run "jar -tf" on the jar file to dump the table of contents on
that tools.jar file and email it to me and i'll see if i can figure
out what is going on.
On Mar 15, 7:34 pm, Jeff Bordogna wrote:
> George,
> Thanks
George,
Thanks for the response. I'm using openjdk and it
lives: file:usr/lib/jvm/java-6-openjdk/jre/../lib/tools.jar (and the
format function worked to find that as well). Anything I need to change wrt
that?
Thanks,
Jeff
--
You received this message because you are subscribed to the
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
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: c
I suppose it could be a way to unify both versions using (System/
getProperty "path.separator") and (System/getProperty
"file.separator")
I add the leo changes (to master vesion -lesses changes-) and it works
for me
thanks!!
On Oct 12, 2:53 pm, leo wrote:
> This works for me under Windows 7. I se
I suppose it could be a way to unify both versions using (System/
getProperty "path.separator") and (System/getProperty
"file.separator")
I try to fix it like Leo but i get a regexp exception using (reval)
with \
--
You received this message because you are subscribed to the Google
Groups "Clojur
This works for me under Windows 7. I set all forward slashes paths in
my .emacs file like this:
(progn
(setq cdt-dir "c:/msysgit/cdt")
(setq cdt-source-path "c:/clj/clojure-1.2.0/src/jvm;c:/clj/
clojure-1.2.0/src/clj;c:/clj/clojure-contrib-1.2.0/src/main/clojure/
clojure/contrib;")
(load-fil
ok i have made a (ugly) trick to make it work, copying tools.jar in
cdt/lib and changing cdt.el:
(defun cdt-query-cmdline ()
(let ((path (strip-trail cdt-dir)))
(format "java -classpath%s/lib/clojure-1.2.0.jar;%s/lib/clojure-
contrib-1.2.0.jar;%s/lib/debug-repl-0.3.0-20091229.021828-3.jar;%s
ok i have made a (ugly) trick to make it work, copying tools.jar in
cdt/lib and changing cdt.el:
(defun cdt-query-cmdline ()
(let ((path (strip-trail cdt-dir)))
(format "java -classpath%s/lib/clojure-1.2.0.jar;%s/lib/clojure-
contrib-1.2.0.jar;%s/lib/debug-repl-0.3.0-20091229.021828-3.jar;%s
On Oct 12, 12:48 am, atreyu wrote:
> Hi folks and congrats to George Jahad for this great work.
> Hoewer the cdt dont work on my windows vista. After some changes on my
> own i get the same error of Greg Willams:
>
> java.lang.ClassNotFoundException: com.sun.jdi.Bootstrap (cdt.clj:28)
>
> i've t
Hi folks and congrats to George Jahad for this great work.
Hoewer the cdt dont work on my windows vista. After some changes on my
own i get the same error of Greg Willams:
java.lang.ClassNotFoundException: com.sun.jdi.Bootstrap (cdt.clj:28)
i've tried add-classpath of tool.jar (where is the class
>> You going to do some speech recognition in Clojure?
Unfortunately, no. I just have some hand RSI problems, and I use
Dragon NaturallySpeaking for writing e-mails and documenting Clojure
code. You can see an example of the notes I've taken while going
through the labrepl exercises at
http://www
> George, I don't know what time zone you live in, but you are one crazy
> person!
I'm on vacation in NYC for a couple more days, then back home to
Silicon Valley. Still jet lagged which explains my odd hours. (Not
to mention that being in New York is such a rush it's pretty hard to
sleep!)
> Y
George, I don't know what time zone you live in, but you are one crazy
person! You're doing fantastic work for the Clojure community, and I
thank you very much for that!
The Emacs I was using was Clojure Box, so I disconnected slime (just
in case) and tried what you suggested. The results were bet
> git fetch
Actually, instead of git fetch, use:
git pull origin windows
On Oct 10, 4:39 am, George Jahad wrote:
> I haven't gotten it working on Windows yet, (as I mention
> here:http://georgejahad.com/clojure/emacs-cdt.html)
>
> I don't think it will be hard, but I've never run Clojure on Wi
I haven't gotten it working on Windows yet, (as I mention here:
http://georgejahad.com/clojure/emacs-cdt.html)
I don't think it will be hard, but I've never run Clojure on Windows,
so I'm not sure of the issues involved. I need someone like you to
help me figure them out. I'm guessing the most i
Thanks for your "ridiculously long instructions" on using cdt; I
appreciate your thoroughness.
I'm working on the %$#...@^@! Windows platform (Windows XP, to be
precise), and I'm unable to set cdt-source-path in my .emacs file.
I can get my Clojure REPL to start just fine:
C:\tech>java -
ag
I use "java -
agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8021 -
client -cp h:/clojure/libs/clojure-contrib-1.2.0.jar;h:/clojure/libs/
clojure-1.2.0.jar clojure.main --repl" to invoke java, and there is
not any jars in the classpath.
The user namespace is there after I invoke java
I believe this is not caused by any problems with the debugging environment.
Instead you appear to not have the clojure jar on your classpath.
I would recommend you explicitly launch java with
java -cp "H:\path\to\clojure.jar"
plus any additional arguments of course.
if this is still not worki
I do a full source install of clojure follow by the article "Emacs
Front End to the Clojure Debugging Toolkit", I started the java vm
with all the necesory arguments, and M-x cdt, then there will be some
error messages as below:
Current directory is H:\heoxsoft\emacs\emacs-23.2\bin/
java.lang.NoC
sa-jdi.jar is supposed to come with the jdk. The code I use for
finding it should work for sun's 1.6 jdk on linux and osx.
Which java are you using? What os are you running it on?
Also, what problem are you running into without it? (I think I only
use it for some advanced features which you ma
where is the sa-jdi.jar, there isn't the sa-jdi.jar under my java's
lib directory.
On 9月29日, 下午12时00分, George Jahad wrote:
> hmmm, you must be as big a debugger geek as I am, but I'm not sure
> anyone else would be interested.
>
> In any case the commands are almost trivial, which is why I don't
On 29 Sep 2010, at 5.19 am, George Jahad wrote:
>
>
> Also, Sam, my previous post seems to have gotten eaten, but I'll work
> on that screencast.
Actually, you seem to have sent it directly to me :-)
A screencast would be wonderful!
Sam
---
http://sam.aaron.name
--
You received this messag
I forgot to make clear in my post that port 8021 is just an example,
you should use another if that one is in use, and you get this error:
[null] ERROR: transport error 202: bind failed: Address already in use
[null] ERROR: JDWP Transport dt_socket failed to initialize,
TRANSPORT_INIT(510)
Adie
hmmm, you must be as big a debugger geek as I am, but I'm not sure
anyone else would be interested.
In any case the commands are almost trivial, which is why I don't
think it will be too hard to port this to other IDE's:
These are the CDT commands that were generated by the Emacs front end
in the
On Tue, Sep 28, 2010 at 7:40 PM, Eric Schulte wrote:
> Currently I use the :jvm-opts keyword in project.clj, however it would
> be nice to be able to specify different argument when using different
> tools as mentioned in the thread above, or to be able to set different
> values (e.g. maximum heap
Baishampayan Ghose writes:
>>> Why do you ask? Is there some particular functionality you are
>>> interested in?
>>
>> Well, I'm just learning too. Currently I rely on lein swank to start
>> up my JVM so that slime can connect to it. CDT seems to want you to
>> manually start up the JVM with a p
George,
> As some of you know, I suffer from a seemingly interminable obsession
> with improving the Clojure debugging story. It just seems so clear to
> me that Clojure deserves a world class debugger, one befitting it's
> power, beauty and elegance. Maybe one day, we'll get there. Till
> then
On Tue, Sep 28, 2010 at 3:40 AM, George Jahad
wrote:
> As some of you know, I suffer from a seemingly interminable obsession
> with improving the Clojure debugging story. It just seems so clear to
> me that Clojure deserves a world class debugger, one befitting it's
> power, beauty and elegance.
>> Why do you ask? Is there some particular functionality you are
>> interested in?
>
> Well, I'm just learning too. Currently I rely on lein swank to start up my
> JVM so that slime can connect to it. CDT seems to want you to manually start
> up the JVM with a particular set of flags. So, do yo
On 28 Sep 2010, at 11.20 am, George Jahad wrote:
> Why do you ask? Is there some particular functionality you are
> interested in?
Well, I'm just learning too. Currently I rely on lein swank to start up my JVM
so that slime can connect to it. CDT seems to want you to manually start up the
JVM
I regularly use both simultaneously.
While Slime and the CDT don't currently leverage each other, they
don't interfere with each other either as far as I know, unless you
happen to suspend the swank server thread. Not sure what all the
implications of that are. I'm still learning.
Why do you as
Wow, looks very useful. Quickly perusing the 'ridiculously long instructions'
it seems that it isn't compatible with slime.
Is this the case? Does slime fit into your workflow, and if so, how?
Sam
---
http://sam.aaron.name
On 28 Sep 2010, at 9.08 am, Laurent PETIT wrote:
> 2010/9/28 George
2010/9/28 George Jahad
> As some of you know, I suffer from a seemingly interminable obsession
> with improving the Clojure debugging story. It just seems so clear to
> me that Clojure deserves a world class debugger, one befitting it's
> power, beauty and elegance. Maybe one day, we'll get the
As some of you know, I suffer from a seemingly interminable obsession
with improving the Clojure debugging story. It just seems so clear to
me that Clojure deserves a world class debugger, one befitting it's
power, beauty and elegance. Maybe one day, we'll get there. Till
then, here are my lates
37 matches
Mail list logo