On Wed, Sep 8, 2010 at 8:24 PM, Emmanuel Lecharny<[email protected]> wrote:
Well when i do a mvn clean install i get the below exception
[INFO] Surefire report directory:
D:\os\apacheDC\directory-checkstyle\target\surefire-reports
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
Increase the heap size to -Xmx1024m. It should work.
Did not help .. see below trace
What JVM are you using ?
Which Maven version ?
D:\os\apacheDC>mvn --version
Apache Maven 2.2.1 (r801777; 2009-08-07 00:46:01+0530)
Java version: 1.6.0_07
You should *really* switch to Java 1.6.0_20. The Java version you are
using is more than 2 years and a half old...
Can you give the command line you use to build the project ?-- Regards,
Cordialement, Emmanuel Lécharny www.iktek.com