>> >   I just set a MAVEN_OPTS: -Xmx1024m -Xms512m, an error was given like
>> last
>> >  time.Has anyone ever met this?  added that the MAVEN_OPTS was not set
>> when
>> >  mvn worked before.Please,
>> >  C:\Users\lenovo>mvn --version
>> >   javac: invalid flag: -Xmx1024m

If you open mvn.bat in Notepad, you will not find the word "javac"
anywhere in the file. Unless of course you edited this file and broke
it. There is only mention of "java.exe" in my mvn.bat file.

I suggest re-downloading and re-installing Maven, and then not playing
with the batch files.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to