Looks like you are attempting to compile with a 1.4.x JDK. You need to compile with JDK 1.5 or higher.
-Ryan On Jan 15, 5:42 pm, Ron Parker <rdpar...@gmail.com> wrote: > I am trying to build Clojure on Fedora 10. When I first run ant, I get > a message about the compliance level 1.4 not supporting target version > 1.5. So I add source="1.5" to the javac task. Then I get a lot of > warnings and the following 3 errors. > > [javac] 354. ERROR in /home/rdp/lisp/clj/clojure/src/jvm/clojure/ > lang/Numbers.java (at line 900) > [javac] : toBigDecimal(x).divide(toBigDecimal(y), mc); > [javac] ^^^^^^ > [javac] The method divide(BigDecimal, int) in the type BigDecimal > is not applicable for the arguments (BigDecimal, MathCont > ext) > [javac] ---------- > [javac] 355. ERROR in /home/rdp/lisp/clj/clojure/src/jvm/clojure/ > lang/Numbers.java > [javac] (at line 907) > [javac] : toBigDecimal(x).divideToIntegralValue(toBigDecimal > (y), mc); > [javac] ^^^^^^^^^^^^^^^^^^^^^ > [javac] The method divideToIntegralValue(BigDecimal) in the type > BigDecimal is not applicable for the arguments (BigDecimal > , MathContext) > [javac] ---------- > [javac] 356. ERROR in /home/rdp/lisp/clj/clojure/src/jvm/clojure/ > lang/Numbers.java (at line 914) > [javac] : toBigDecimal(x).remainder(toBigDecimal(y), mc); > [javac] ^^^^^^^^^ > [javac] The method remainder(BigDecimal) in the type BigDecimal is > not applicable for the arguments (BigDecimal, MathContex > t) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---