File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action 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
Author

Ant: Error running javac compiler

snehal shinde
Greenhorn

Joined: Nov 05, 2011
Posts: 1
Hi,
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
author
Bartender

Joined: May 14, 2008
Posts: 5836
    
    7

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: http://aspose.com/file-tools
 
subject: Ant: Error running javac compiler