On Sat, Mar 21, 2009 at 1:34 AM, Dan Beauchesne <dbeauche...@gmail.com> wrote:
>
>
> I'm trying to install clojure on Debian 5.0 and having some troubles.
>
> Typing "ant" in the clojure directory gives me the error:
>
> compile-java:
>    [javac] Compiling 119 source files to /home/dan/opt/clojure/classes
>    [javac] Compliance level '1.4' is incompatible with target level
>    '1.5'. A compliance level '1.5' or better is required
>
>
> Now, there are a few solutions after searching google, but they all have
> to do with ant finding the wrong java runtime. However, on my system:
>
> d...@latitude:~/opt/clojure$ ant -diagnostics | grep java.runtime.version
> java.runtime.version : 1.5.0
>
> and:
>
> d...@latitude:~/opt/clojure$ ant -diagnostics | grep 1.4
> d...@latitude:~/opt/clojure$
>
> If I should be posting this to the debian/ant mailing lists please
> accept my apologies.

Are you sure it's not trying to use gcj instead of Sun java?

What do "java -version" and "javac -version" give you?  And does
"update-alternatives --list java" or javac print anything?

-- 
Michael Wood <esiot...@gmail.com>

--~--~---------~--~----~------------~-------~--~----~
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