Ant Blackberry Build Fails

2019-03-06 01:16发布

If I have small Blackberry project with just 10 or less java class files, and if I try to build it with ANT, then it works fine. But my actual Blackberry Project has more than 600 java classes in various packages. I get following Error while trying ANT.

“I/O Error: Cannot run program “java.exe”: CreateProcess error=87”

1条回答
姐就是有狂的资本
2楼-- · 2019-03-06 01:49

I assume you are using bb-ant-tools. The docs for the generatesourcelist attribute to the rapc ant task say

Generate list of source files in text file. Set this to true when java returns "CreateProcess error=87" on Windows. Optional, defaults to false.

查看更多
登录 后发表回答