Re: cannot import namespace reducers

2013-07-24 Thread Johannes Brauer
if I remember correctly I solved the problem by reinstalling Java 7 from Oracle. Thereafter my $JAVA_HOME points to: /Library/Java/JavaVirtualMachines/jdk1.7.0_21.jdk/Contents/Home Johannes Am 24.07.2013 um 03:02 schrieb Keith Maynard kpmayn...@gmail.commailto:kpmayn...@gmail.com : Please spam

Re: cannot import namespace reducers

2013-07-23 Thread Keith Maynard
Please spam the list!!! I am sure anyone who receives that message is probably running Mac OS X 10.7.x or later and trying to unravel the mess between Java 6 and Java 7. Please post recommendations. I finally got Eclipse to see the jdl1.7.0_25.jdk now how do I get the OS to replace the Apple

Re: cannot import namespace reducers

2013-06-16 Thread László Török
Hi, there are two ways to deal with this: a) use Java 7 2013/6/16 Johannes bra...@nordakademie.de Hi, trying (require '[clojure.core.reducers :as r]) at the repl prompt the error message CompilerException java.lang.ClassNotFoundException: jsr166y.ForkJoinPool,

Re: cannot import namespace reducers

2013-06-16 Thread Mayank Jain
Try (:require '[clojure.core.reducers :as r]) i.e. :require On Mon, Jun 17, 2013 at 1:38 AM, Johannes bra...@nordakademie.de wrote: Hi, trying (require '[clojure.core.reducers :as r]) at the repl prompt the error message CompilerException java.lang.ClassNotFoundException:

Re: cannot import namespace reducers

2013-06-16 Thread László Török
.. sorry, gmail's new annoying keyboard shortcut b) include the dependency to the forkjoin library [1] that is not included in Java6 Las [1] http://mavenhub.com/mvn/central/org.coconut.forkjoin/jsr166y/070108 2013/6/16 László Török ltoro...@gmail.com Hi, there are two ways to deal with

Re: cannot import namespace reducers

2013-06-16 Thread László Török
(require '[clojure.core.reducers :as r]) is correct. (:require '[clojure.core.reducers :as r]) only works within the ns macro: (ns 'yournamespace (:require '[clojure.core.reducers :as r])) Las 2013/6/16 Mayank Jain firesof...@gmail.com Try (:require '[clojure.core.reducers :as r])

Re: cannot import namespace reducers

2013-06-16 Thread Johannes Brauer
thank you, Las, for the quick tip. I will give Java 7 a try. I hope there are no problems on Mac OS 10.8.4 Johannes Am 16.06.2013 um 22:15 schrieb László Török ltoro...@gmail.commailto:ltoro...@gmail.com : .. sorry, gmail's new annoying keyboard shortcut b) include the dependency to the

Re: cannot import namespace reducers

2013-06-16 Thread László Török
I'm on Java7 and OS X 10.8.4, no problem over here. :) 2013/6/16 Johannes Brauer bra...@nordakademie.de thank you, Las, for the quick tip. I will give Java 7 a try. I hope there are no problems on Mac OS 10.8.4 Johannes Am 16.06.2013 um 22:15 schrieb László Török ltoro...@gmail.com :

Re: cannot import namespace reducers

2013-06-16 Thread Johannes Brauer
now, I've Java 7 installed and get another error message: Exception namespace 'clojure.core.reducers' not found clojure.core/load-lib (core.clj:5380) any further hints? Johannes Am 16.06.2013 um 22:43 schrieb Johannes Brauer bra...@nordakademie.demailto:bra...@nordakademie.de : thank you,

Re: cannot import namespace reducers

2013-06-16 Thread László Török
are you on clojure 1.5+ ? If I launch the REPL using lein repl and then (require 'clojure.core.reducers) it works ok for me. 2013/6/16 Johannes Brauer bra...@nordakademie.de now, I've Java 7 installed and get another error message: Exception namespace 'clojure.core.reducers' not found

Re: cannot import namespace reducers

2013-06-16 Thread Johannes Brauer
I am on clojure 1.5.1 and I use lein repl. But after (require '[clojure.core.reducers :as r]) I still get the same error message as with Java 6: CompilerException java.lang.ClassNotFoundException: jsr166y.ForkJoinPool, compiling:(clojure/core/reducers.clj:56:21) A second input of (require

Re: cannot import namespace reducers

2013-06-16 Thread László Török
Then you are having a path problem. Your lein is still using java6 Check your $PATH and $JAVA_HOME env. variables. As this not strictly clojure related, let's not spam the list, im happy to help off list Sent from my phone On Jun 16, 2013 11:22 PM, Johannes Brauer bra...@nordakademie.de wrote: