Meaningless Drivel is fun!
The moose likes Ant, Maven and Other Build Tools and the fly likes Ant: Error running javac compiler Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Ant: Error running javac compiler" Watch "Ant: Error running javac compiler" New topic

Ant: Error running javac compiler

snehal shinde

Joined: Nov 05, 2011
Posts: 1
I am getting error BUILD FAILED
....\build.xml:179: Error running javac.exe compiler
while running ant build.
on 179 line memorymaximumsize="512m"> this is mentioned
I think issue is related to memory problem.
what is solution for this?
please help.
Peter Johnson

Joined: May 14, 2008
Posts: 5852

Snehal, welcome to Java Ranch!

Could you please provide the full output from running ant? The little bit that you posted is not sufficient to determine the cause of the problem. It might help to also post the build.xml file.

(P.S. Starting a new post to ask your question is preferred to resurrecting a 2-year old post)

JBoss In Action
Don't get me started about those stupid light bulbs.
subject: Ant: Error running javac compiler
It's not a secret anymore!