Fail to launch application (CreateProcess error=87), can't use shorten classpath workaround

Posted by Ivo Bosticky on Stack Overflow See other posts from Stack Overflow or by Ivo Bosticky
Published on 2010-05-23T23:35:23Z Indexed on 2010/05/23 23:40 UTC
Read the original article Hit count: 898

Filed under:
|

When I launch our application in Eclipse on Windows I receive the following error:

Exception occured executing command line.

Cannot run program .. : CreateProcess error=87, The parameter is incorrect

I've solved this in the past by shortening the CLASSPATH.

I've now come to a point where I can no longer shorten the CLASSPATH, and would like to know if there are any other workarounds.

http://support.microsoft.com/kb/830473 seems to indicate that the max command prompt line length in windows xp is 8191 characters, and the only solution is to shorten folder names, reduce depth of folder trees, using parameter files, etc.

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about windows-xp