Is there any clearly explained and simple way to see the compiler output when running javac
through an Ant task?
Here is my javac
Ant tag:
The problem also occurs when the java-compiler itself cannot start. As an example, when the defined heap is too big. The java2 task of Intellij would display the information
Using external javac compiler
Compilation arguments:
...
'-J-Xmx1600m'
...
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
and the cause in the build.xml file, in my case: