On Wed, Sep 8, 2010 at 9:00 PM, Emmanuel Lécharny <[email protected]> wrote:
>
>> 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...

maybe i should .. but do you think this could be the issue ??

> Can you give the command line you use to build the project ?

the command you said
mvn -e clean install
NOTE: a maven naive user here..

may be i should just try in a new setup itself.. hmmm

~A

Reply via email to