Wednesday 4 July 2012

CreateProcess error=87, The parameter is incorrect.

On computers running Microsoft Windows XP or later, the maximum length of the string that you can use at the command prompt is 8191 characters. On computers running Microsoft Windows 2000 or Windows NT 4.0, the maximum length of the string that you can use at the command prompt is 2047 characters.

This limitation applies to the command line, individual environment variables (such as the PATH variable) that are inherited by other processes, and all environment variable expansions. If you use Command Prompt to run batch files, this limitation also applies to batch file processing. read more

Solution:
Rename the folder(s), give short names. e.g. C:\maven\repository to c:\m2\rep.

No comments:

Post a Comment