LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ant problem (https://www.linuxquestions.org/questions/linux-software-2/ant-problem-727297/)

manolakis 05-20-2009 10:20 AM

ant problem
 
Hello,

I am trying to run ant but I get the following error:
Quote:

Incompatible version of org.apache.tools.ant.Main detected
Location of this class /System/Library/Java/Extensions/ant.jar
Does anybody know how can I fix this?

TB0ne 05-21-2009 09:48 AM

Quote:

Originally Posted by manolakis (Post 3547051)
Hello,

I am trying to run ant but I get the following error:

Does anybody know how can I fix this?

Yes...get the right versions of Ant and Apache. But since you don't say anything about what version/distro of Linux you're using, or anything about ant or apache, it's hard to be more specific.

manolakis 05-24-2009 12:16 PM

Quote:

Originally Posted by TB0ne (Post 3548215)
Yes...get the right versions of Ant and Apache. But since you don't say anything about what version/distro of Linux you're using, or anything about ant or apache, it's hard to be more specific.

Can you please tell me how to determine what is the appropriate version to get? I try to run ant -version but I still get the same error.


All times are GMT -5. The time now is 06:40 PM.