CreateProcess error=206, The filename or extension is too long
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to call Findbugs via Ant , but receiving this error: Cannot run program "C:\Program Files (x86)\Java\jre6\bin\javaw.exe" (in directory "H:\Users\MyName\workspace\MyProject"): CreateProcess error=206, The filename or extension is too long How can I fix this? o.O 回答1: I had the same problem. I used inside findbugs target and it seems that there is too much .class files to be passed to findbug (?via command line?) because when I used that had low number of classes, the error was gone. So, I solved the problem by making one jar file