本文介绍了无法启动应用程序(CreateProcess error = 87),无法使用缩短的类路径解决方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在Windows中的Eclipse中启动我的应用程序时,我收到以下错误:

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

无法运行程序..:CreateProcess error = 87,参数不正确

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



我已经通过缩短CLASSPATH来解决这个问题。

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

我现在已经到了一个不能再缩短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.

似乎表明,最大命令提示符在Windows XP中的行长为8191个字符,唯一的解决方案是缩短文件夹名称,减少文件夹树的深度,使用参数文件等。

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.

推荐答案

这个确认您的诊断:

您还有,详细说明日志错误。

And you have here a thread detailing the log errors.

由于您可以启动Eclipse,而不是应用程序,我会检查您的启动配置中是否包含太多插件。你能检查一下你是否有?

Since you can launch Eclipse, but not the application, I would check if you don't have too many plugins included in your launch configuration. Could you check if you have added only the required plugins?

这篇关于无法启动应用程序(CreateProcess error = 87),无法使用缩短的类路径解决方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-27 12:39