File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
I agree. Here's the link:
subject: Ant: Error running javac compiler
It's not a secret anymore!