Rufen Sie uns an: +49 30 23320715 E-Mail:

CreateProcess error 87 with bb-ant-tools | BlackBerry development

Posted Oktober 7th, 2010 in Blog by creative workline

We are using BlackBerry Ant Tools (bb-ant-tools) and Eclipse to compile and package apps for RIM BlackBerry. The bb-ant-tools are like a wrapper for the rapc command and allow for a nice integration in Ant build scripts. It took some time to have a more or less good running build environment – but in the end it somehow works.

Then one day „out of nowhere“ this error came up: „I/O Error: Cannot run program „javac“: CreateProcess error=87, Falscher Parameter“ (wrong parameter). But we haven’t changed anything in the development enviroment or build scripts!? The paramter „generatesourcelist“ is alread set to true in our case. You probably get another error if it set to false – assuming that you are working on Windows.

What did we do?
Well, we added some new Java classes and this broke the RIM’s rapc compiler. It seems to have a length restriction for the sum of input source file paths.

So what can you do as a workaround?

  • Set verbose=“true“ in the rapc task to get the full command line that is used. Beware, this might be reall long.
  • Set generatesourcelist=“true“ and look at the sources.txt to remove unused classes/resources.
  • Shorten the project path. If your path is
    try moving it to
    to see if it works.

I hope that this helps some of you out there struggling with the daily obstacles of mobile development.

VN:F [1.9.22_1171]
Rating: 5.0/5 (1 vote cast)
CreateProcess error 87 with bb-ant-tools | BlackBerry development , 5.0 out of 5 based on 1 rating

Comments are closed.

Mobile App Entwicklung und App Programmierung in Deutschland und Österreich. © App Agentur creative workline GmbH 2018
  Mobile App Solutions Software Produkt Entwicklung Software Erstellung Berlin Software Plattform Entwicklung App Entwicklung Berlin App Entwicklung Köln App Entwicklung München App Entwicklung Frankfurt App Entwicklung Hamburg App Entwicklung Hannover App Entwicklung Bremen App Entwicklung Düsseldorf App Entwicklung Deutschland App Entwicklung Berlin App Entwicklung Deutschland In Berlin App erstellen lassen
  App Programmierung Berlin App Programmierung Köln App Programmierung München App Programmierung Hamburg App Programmierung Hannover App Programmierung Bremen App Programmierung Deutschland App Programmierung Berlin App Programmierung Deutschland