Hi all, I'm using the system java on Mac OS Leopard, and confused about how to get the parallel library working. I've got the necessary jar file on my classpath:
sihpc03:clojure anand$ echo $CLASSPATH /usr/local/clojure:/Library/Java/Extensions sihpc03:clojure anand$ ls /Library/Java/Extensions/ clojure.jar jline-0.9.94.jar jsr166y.jar libsvnjavahl-1.jnilib libsvnjavahl.jnilib and I include it when I start up clojure: sihpc03:clojure anand$ java -server -cp jline-0.9.94.jar:jsr166y.jar:clojure.jar jline.ConsoleRunner clojure.lang.Repl However, when I try to load parallel.clj from the clojure source directory, a problem happens: user=> (load-file "parallel.clj") java.lang.ClassNotFoundException: jsr166y.forkjoin.ParallelArray (parallel.clj:0) How can I fix that? Another question: in the example on the clojure webpage, the load-file command is (load-file "src/parallel.clj"). To make that work do I have to have clojure's source directory on my classpath, or my regular path, or are the sources available from inside the jar file somehow? I'm sure the answers are available from Java documentation somewhere, but the fact that I'm working from closure adds a thick enough layer of confusion that I considered this worth posting... hope I'm not taking advantage. Thanks, Anand --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---