LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-20-2009, 10:20 AM   #1
manolakis
Member
 
Registered: Nov 2006
Distribution: xubuntu
Posts: 464

Rep: Reputation: 37
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?
 
Old 05-21-2009, 09:48 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by manolakis View Post
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.
 
Old 05-24-2009, 12:16 PM   #3
manolakis
Member
 
Registered: Nov 2006
Distribution: xubuntu
Posts: 464

Original Poster
Rep: Reputation: 37
Quote:
Originally Posted by TB0ne View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ant problem with JAVA_HOME manolakis Linux - Software 1 03-22-2007 12:02 PM
How to use "ant" from J2EE SDK instead of installed ant in Fedora ? pcuongx Linux - Server 2 02-27-2007 04:45 AM
ant script: problem excluding subdirectories kpachopoulos Programming 0 12-12-2006 07:30 PM
problem with ant script kpachopoulos Programming 1 12-12-2006 07:19 PM
problem with ant os2 Programming 1 05-20-2005 12:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration