« Return to Thread: maven error: can not create the java virtual machine

Re: maven error: can not create the java virtual machine

by Heinrich Nirschl :: Rate this Message:

Reply to Author | View in Thread

2009/7/2 yuting lv <yutinglv@...>:
> then  changed my MAVEN_OPTS to this: "-Xms256m -Xmx256m"

> user environment varialbe:
> Path                                 %JAVA_HOME%\bin;%M2_HOME%\bin;
> JAVA_HOME                 D:\Program Files\Java\jdk1.6.0_02
> M2_HOME                      D:\Program Files\apache-maven-2.2.0
> M2                                    %M2_HOME%\bin
> MAVEN_OPTS               "-Xms256m -Xmx256m"

Note the quotes around the value of MAVEN_OPTS! Try again after doing

set MAVEN_OPTS=-Xms256m -Xmx256m

- Henry

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: maven error: can not create the java virtual machine