Well, at least I am not alone.

I think you are right about the emacs/slime thing. Everything just
works if I start a REPL from the commandline and add the classpaths/
librarypaths when I invoke it.

I have tried this on two separate Windows machines with vastly
different configs, so I don't think my issues are related to other
software.

On May 20, 9:32 am, hoeck <i_am_wea...@kittymail.com> wrote:
> On 19 Mai, 12:25, martin_clausen <martin.clau...@gmail.com> wrote:
>
>
>
> > I am trying to use the JACOB library with Clojure using Clojure Box.
>
> > I have added this to my .emacs:
>
> > (setq swank-clojure-library-paths (list "c:/dev/dlls"))
>
> > c:/dev/dlls/ contains the jacob-1.14.3-x86.dll
>
> > I have added a .clojure dir to my ~/ dir and that contains the
> > jacob.jar
>
> > At the Clojure Box REPL (System/getProperty "java.class.path") yields:
>
> > "c:/Program Files/Clojure Box/clojure/clojure.jar;c:/Program Files/
> > Clojure Box/clojure-contrib/clojure-contrib.jar;c:/Documents and
> > Settings/mac009/Application Data/.clojure/jacob.jar"
>
> > and (System/getProperty "java.library.path") yields:
>
> > "c:/dev/dlls"
>
> > If I start Clojure Box and issue "(import '(com.jacob.com Dispatch
> > ComThread))" the REPL just hangs.
>
> > Now for the weird part. If I kill the REPL and do "Alt-X slime" and
> > answer no to "Create an additional *inferior-lisp*? (y or n)" and
> > issue "(import '(com.jacob.com Dispatch ComThread))" it works! Even
> > weirder is that this only "works" if I first issue "(import
> > '(com.jacob.com Dispatch ComThread))" and make the REPL hang. If I
> > just start Clojure Box and kill/restart the REPL without first issuing
> > "(import '(com.jacob.com Dispatch ComThread))", then it just hangs.
>
> > Any help is greatly appreciated.
>
> > JACOB:http://sourceforge.net/projects/jacob-project/
>
> > Clojure Box:http://clojure.bighugh.com/
>
> hi martin,
>
> i tried importing those two classes from a recent jacob with slime,
> xemacs and w2k and exactly the same is happening here. I have a
> similar problem when starting slime, my emacs blocks and doesn't start
> the repl until i evaluate some random stuff in the *inferior-lisp*
> buffer. Same when loading the jacob classes. But it works without any
> problems in the *inferior-lisp* buffer.
> I guess its some really strange threading/locking/blocking problem
> with windows/(x)emacs and maybe some anti virus thing someone
> installed on my machine while I was away (slime had worked without
> blocking before). Even weirder, the whole jvm freezes (well, except
> the clojure repl in *inferior-lisp*), including the processexplorer
> and the attached jvisualvm.
--~--~---------~--~----~------------~-------~--~----~
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
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to